https://github.com/juliapluto/plutoturtles.jl
Learn Julia programming with interactive drawings and color!
https://github.com/juliapluto/plutoturtles.jl
Last synced: 4 months ago
JSON representation
Learn Julia programming with interactive drawings and color!
- Host: GitHub
- URL: https://github.com/juliapluto/plutoturtles.jl
- Owner: JuliaPluto
- License: unlicense
- Created: 2024-08-06T10:13:18.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-01-20T11:57:35.000Z (6 months ago)
- Last Synced: 2025-03-19T15:49:40.004Z (4 months ago)
- Language: Julia
- Homepage: https://featured.plutojl.org/basic/turtles.html
- Size: 48.8 KB
- Stars: 17
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PlutoTurtles.jl
Learn Julia programming with interactive drawings and color
https://github.com/user-attachments/assets/29953264-f364-4f47-98c6-533ce7218af8
# How to use
Open a Pluto notebook, and write:
```julia
using PlutoTurtles
```Now you can start making turtle drawings! For example, you can make a triangle. Add a cell with this code:
```julia
@steps turtle_drawing() do t
forward!(t, 3)
right!(t, 60)forward!(t, 3)
right!(t, 60)
forward!(t, 3)
right!(t, 60)
end
```To learn more, [**read the (interactive) featured notebook →**](https://featured.plutojl.org/basic/turtles.html)
# Testimonial
> Hi there @fonsp and friends!
> This is not an actual issue, I just wanted to share a nice experience I've had with your package. Last week I was tasked with mentoring a group of students for an intro to programming, one of whom had never coded before (let's call them A). I tried having A do the same tasks as the rest of the group, but it ended up being too difficult since they had never encountered key concepts like variables and loops.
> So in the end I had A work on the intro notebook with turtles, and it was a great educational tool! In the beginning A was skeptical, but then they started experimenting on their own by drawing increasingly complex shapes. The definite highlight was when A figured out it was possible to draw a near perfect circle using a regular polygon with enough vertices, Archimedes style 😎 When we said goodbye, A was wondering how to draw a stop sign using only the turtle.
> Thanks again for your amazing work