Window with a canvas that can be painted.
Abstraction that provides an init
operation to create a new canvas.
Abstraction that provides an init
operation to create a new canvas.
This is helpful to deal with the fact that creating a new canvas is a side-effectful operation.
RGB Color
A low-level version of a canvas that provides its own canvas manager.
A mutable surface stored in RAM.
The RenderLoop
contains a set of helpful methods to implement basic render
loops in a platform agonstic way.
The RenderLoop
contains a set of helpful methods to implement basic render
loops in a platform agonstic way.
effect type for stateless loops
effect type for stateful loops
A Surface is an object that contains a set of pixels.
Canvas backed by a mutable surface.
A render loop that takes a side-effectful renderFrame operation.
Window with a canvas that can be painted.
The Canvas is the main concept behind minart, providing access to both rendering and input functionallity.
A canvas represents a window with a
width * height
pixels. There's also ascale
variable that controls the integer scaling and aclearColor
that is applied to the whole canvas when it's cleared.