Presented by:

Yuan Garcia

from Mills High School

We made a small Filled Graphics Library in Snap! (using JavaScript). This is important because Snap! mostly draws lines and it's hard to draw solid shapes (especially with curves). This library allows Snap! users to include filled wedges, ellipses, and parallelograms in their projects. Unlike the raw JavaScript which uses the world coordinate system, we follow the turtle graphics model from Snap! and center the drawings on the sprite, respecting its position and rotation. Enjoy!

Duration:
5 min
Room:
Main Room
Conference:
Snap!shot 2021
Type:
Show Your Project