microstates
microstates copied to clipboard
Example: Polygon
Could be used to render various shapes to a canvas. Might be fun to explore:
-
rotation
-
origin
-
sides
-
[ ] create lo-fi mockups for what the example will look like
-
[ ] illustrate the state machine
-
[ ] implement for React
-
[ ] add to Gallery if available.
This is an excellent idea, looks fun.
Did this end up going anywhere?
@ianschwartz Unfortunately, I really did not get to take this as far as I would have liked but I did get an example working where I can change the number of sides on the rendered polygon. I just didn't spend much time on it after that.
https://github.com/keathleydavidj/microstates-polygon-example