Drawing
To draw things in OPENRNDR you typically use the drawer object.
For example:
drawer.clear(ColorRGBa.PINK)to clear the screendrawer.fill = ColorRGBa.WHITEto set the fill colordrawer.stroke = ColorRGBa.BLACKto set the stroke colordrawer.circle(320.0, 240.0, 50.0)to draw a circle
Explore the next pages to learn more about drawing.
Table of contents
- Drawing circles, rectangles and lines
- Images
- Color
- Managing draw style
- Curves and shapes
- Text
- Drawing SVG
- Video
- Tridimensional graphics
- Drawing primitives batched
- Transformations
- Vectors
- Quaternions
- Color buffers
- Render targets
- Filters and post processing
- Clipping
- Asynchronous image loading
- Shade styles
- Custom rendering
- Concurrency and multithreading
- Array textures