FP draw like a computer

by dan garcia
See Code Download Embed
THIS IS NOT AN INTERACTIVE PROJECT... go into edit mode and click on the blocks...

The goal of this project is to make pictures first class -- able to be returned FROM a reporter and sent INTO a block.

There are primitives: line, arc, circle, polygon, filled circle

There are transformations that take a picture and parameters and return a new picture: center, scale

There larger blocks: eye, face, surprise face, recursive faces.

Finally, there's a render block that takes a picture

[hint -- any time a block's input is rectangular, that's mean it's expecting a picture, and when it's a circle, it's expecting a number]

Have fun!

Created July 25, 2021

Last updated August 27, 2021

Published August 1, 2021