[][src]Module minutiae::emscripten

Structs

CanvasRenderer

Middleware that caculates the color of each pixel in the universe using a provided function and maintains an internal buffer containing that data. Once all of the data has been calculated, it calls the provided canvas_render function with a pointer to that internal pixeldata buffer in rgba format (the same format as is accepted by HTML Canvases).

EmscriptenDriver

Driver that integrates with the Emscripten browser event loop API to have the simulation loop automatically managed by the browser.

Enums

KeyPress
UserEvent

Represents an action that the user can take in the web UI.

Functions

emscripten_cancel_main_loop
emscripten_get_now
emscripten_set_main_loop
set_main_loop_callback