View on GitHub

purescript-gesso

Easily build canvas applications in PureScript — Compatible with Halogen

Gesso Documentation

Quick-Start

The Quick-Start Guide walks you through the process of setting up and compiling your first Gesso application.

Gesso Manual

The Gesso Manual covers the vast majority of what you need to know to use Gesso effectively:

Details about specific functions and types can be found on Pursuit.

Examples

These small programs showcase various features. See Gesso Examples for more information on building and running the examples.

Name Summary
Hello The most barebones Gesso program: exactly what you need to get a canvas to draw on, and nothing more.
Bounce A circle that moves around the canvas and bounces off the edges.
Keyboard Move a square around the canvas using the arrow keys.
Mouse And Scaling A graph that shows the coordinates of a mouse click. Scales coordinates between canvas and drawing.
Analog Clock A more complex drawing. Uses coordinate scaling functions and non-canvas Effects.
Interpolation Fixed-rate update functions and interpolating state for rendering.
Paint App A Halogen application with an embedded Gesso component.
Timing A graph comparing the delta values in fixed and per-frame update functions.