Open walterbender opened 5 months ago
We have support for a "hollow line" in the JavaScript version of Turtle. It appears on the Pen Palette and implemented in the Turtle Painter code.
https://github.com/sugarlabs/musicblocks/blob/2d4f48bd62908ca16a8abe15742615270677a006/js/blocks/PenBlocks.js#L588
https://github.com/sugarlabs/musicblocks/blob/2d4f48bd62908ca16a8abe15742615270677a006/js/turtle-painter.js#L262
The block is really useful for 3-D printing, where you can directly extrude from the exported SVG using programs like TinkerCad.
Josh Burker has lots of fun lesson plans that use this feature:
See https://www.redalyc.org/pdf/547/54741184007.pdf
The goal here is to provide similar functionality to the Python code.
We have support for a "hollow line" in the JavaScript version of Turtle. It appears on the Pen Palette and implemented in the Turtle Painter code.
https://github.com/sugarlabs/musicblocks/blob/2d4f48bd62908ca16a8abe15742615270677a006/js/blocks/PenBlocks.js#L588
https://github.com/sugarlabs/musicblocks/blob/2d4f48bd62908ca16a8abe15742615270677a006/js/turtle-painter.js#L262
The block is really useful for 3-D printing, where you can directly extrude from the exported SVG using programs like TinkerCad.
Josh Burker has lots of fun lesson plans that use this feature:
See https://www.redalyc.org/pdf/547/54741184007.pdf
The goal here is to provide similar functionality to the Python code.