Super-fun with First-class Shapes in Quil
summary
Adds first-class shape objects to Quil fun-mode so shapes and imported images can be built, combined, and reused instead of redrawn per frame, implementing draw-shape and composition functions like above and beside (plus overlay) that produce complex shapes as vectors of simple shape hash maps. Demonstrations include a sinusoidal animated pattern and an exploding 16×16 grid; it works but currently lacks complex-object rotation, color introspection, and requires image creation inside sketch functions.
AI-written summary · about
chapters (20)
- 0:00Start
- 0:32Table of contents
- 1:49What are we working on?
- 3:37Beginner-friendly graphical library
- 6:06Beginner friendly graphical library: MVC
- 7:15Beginner friendly graphical library: first-class shapes
- 8:25World States in Quil
- 9:50Shapes as First Class Objects
- 11:08Simple Shapes
- 13:17Above and Beside
- 16:59Combining Complex Shapes
- 17:25Overlay
- 18:33Rotation and Scaling
- 19:01Images
- 20:04Code Comparison
- 21:32Simple Shape Structure
- 25:21Draw Shape Structure
- 26:36Future Work
- 29:32Acknowledgments
- 30:02Questions?
related talks
30mSymmetries of Things
39mBuilding composable abstractions
34mQuil and Field: Using Clojure for Algorithmic Digital Art
32mCode goes in, Art comes out
45mPicture combinators and recursive fish
16mBecoming Creative: How I Designed a Quilt with R
43mThe Internet of Shapes
14mQUILT: Supporting Modular Design of Machine-Knitting Programs
