Ollin

Basic

These examples are the smallest starting point. They cover a first breathing circle, the shape of a sketch, and the extend(...) seam.

ExampleWhat it shows
HelloCirclethe smallest program: a breathing circle. draw() runs continuously, so the motion is one time term and there is no loop() call
NormalizedCoordinatesplacing things by fraction, so a sketch fits any canvas
Guidesthe extend(...) seam: an overlay that draws over the sketch
Describingdescribe: a sketch that says what it shows, for a screen reader

Run one with swift run Example-Basic-<Name>, for example swift run Example-Basic-HelloCircle.

↑↓ move ↩ open