Main

Main (Class)

Main entry point for the Ceramic headless backend.

The headless backend allows Ceramic applications to run without a display, making it suitable for server-side rendering, automated testing, and other scenarios where visual output is not required.

This class initializes the headless backend, sets up the project environment, and handles the main application loop for JavaScript targets.

Static Members

headless
project: Project

Reference to the current project instance. This is set during initialization and provides access to the running project.


headless
main(): Void

Main entry point for the headless backend.

Initializes the Ceramic application with the headless backend, sets up the project directory path, and starts the update loop for JavaScript targets.

Private Members

headless
update(): Void

Update loop for JavaScript targets.

Calculates delta time since the last update and triggers the application's update and render cycles. This runs every 100 milliseconds when on JavaScript platforms.