Drawing

To draw things in OPENRNDR you typically use the drawer object.

For example:

  • drawer.clear(ColorRGBa.PINK) to clear the screen
  • drawer.fill = ColorRGBa.WHITE to set the fill color
  • drawer.stroke = ColorRGBa.BLACK to set the stroke color
  • drawer.circle(320.0, 240.0, 50.0) to draw a circle

Explore the next pages to learn more about drawing.

edit on GitHub


Table of contents


This site uses Just the Docs, a documentation theme for Jekyll.