Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hollow line support #95

Open
walterbender opened this issue May 28, 2024 · 0 comments
Open

hollow line support #95

walterbender opened this issue May 28, 2024 · 0 comments

Comments

@walterbender
Copy link
Member

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

Screenshot from 2024-05-28 07-18-40

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant