ASCIIGround - v1.1.2
    Preparing search index...

    Class ASCIIRenderer

    Main ASCII renderer that coordinates pattern generation with rendering back-ends. Supports both 2D canvas and WebGL rendering with automatic fallback.

    Index

    Accessors

    • get renderInfo(): Record<string, number>

      Get the current frames per second (FPS) and related information.

      Returns Record<string, number>

      The current rendering information including FPS and frame count.

    • get mouseInfo(): { x: number; y: number; clicked: boolean }

      Get the current mouse interaction state.

      Returns { x: number; y: number; clicked: boolean }

      An object containing mouse position and click state.

    Constructors

    Methods

    • Render a single frame. This method updates the pattern state and renders characters to the canvas.

      Parameters

      • time: number = ...

        optional timestamp for the frame, defaults to performance.now().

      Returns void