microstates icon indicating copy to clipboard operation
microstates copied to clipboard

Example: Polygon

Open cowboyd opened this issue 6 years ago • 3 comments

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.

cowboyd avatar May 02 '18 15:05 cowboyd

This is an excellent idea, looks fun.

keathleydavidj avatar May 02 '18 15:05 keathleydavidj

Did this end up going anywhere?

ianschwartz avatar Nov 01 '18 13:11 ianschwartz

@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.

2018-06-08 14 55 51

https://github.com/keathleydavidj/microstates-polygon-example

keathleydavidj avatar Nov 01 '18 18:11 keathleydavidj