constructor({ creator }) {
    super({ type: 'renderer' });
    this.stop = false;
    this.parent = creator;
  }
Renderer - Core classes for rendering animations and videos.

####Example:

    const renderer = new Renderer({ creator: this });
    renderer.on("progress", progressHandler);
    renderer.on("render-start", startHandler);
    renderer.on("render-error", errorHandler);


####Note:
    Rendering process
    1. Render the InkPaint scene and save the data to frames
    2. Save frame file and add transition animation
    3. Use ffmpeg to synthesize video files
    4. Delete cache folder

@class