Skip to content

The init block

The init block contains initialisation information primarily to do with graphical presentation of the program.

Members

  • dim - The dimensions of the output window.
  • fps - Target frames per second of the output window.
  • timescale - The time scale of the animation.

Example

with animation

init {
    dim{700, 700}
    fps{75}
}

# ...