package minart
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- trait Canvas extends AnyRef
Canvas that can be paited.
Canvas that can be paited.
The Canvas is the main concept behind minart. Creating a Canvas creates 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. - final case class Color(r: Int, g: Int, b: Int) extends Product with Serializable
RGB Color
- sealed trait FrameRate extends AnyRef
Frame rate definition
- class HtmlCanvas extends Canvas
- trait RenderLoop extends AnyRef
The
RenderLoop
contains a set of helpful methods to implement basic render loops in a platform agonstic way.
Value Members
- object FrameRate
- object JsRenderLoop extends RenderLoop