An open API service indexing awesome lists of open source software.

https://github.com/kartmaan/random-plot-turtle

Random plot in a defined area with Turtle
https://github.com/kartmaan/random-plot-turtle

heading plot random turtle

Last synced: 10 months ago
JSON representation

Random plot in a defined area with Turtle

Awesome Lists containing this project

README

          

# random_plot_turtle

## Functioning
Draws a random graph within spatial boundaries. The turtle moves from left to right and randomly changes its angular orientation with each iteration. Ascending segments are colored green and descending segments are colored red. The function has 5 parameters:
- `strip` : defines the width of the strip in which the graph will be drawn
- `step` : length of the step between each change of direction of the turtle
- `angle_range` : angular freedom of movement of the turtle
- `info` : display on the surface information related to function parameters
- `show_strip` : display the upper and lower limits between which the graph is drawn

## Screenshots
![mosaic](https://user-images.githubusercontent.com/11463619/232893878-16f00417-3978-416c-8dfa-08b0e74bf582.jpg)