turtle
turtle copied to clipboard
Create Animated Drawings in Rust
When I originally wrote this crate 4 years ago (wow time flies!), I defined a type to represent colors: https://github.com/sunjay/turtle/blob/55ee9c07a0a5633d37e8b8a3c7663b4cadd39347/src/color.rs#L211-L221 I chose the range 0 to 255 for the `red`,...
This PR updates from tokio 0.2 to tokio 1.0. # To-do Currently blocked on the following: - [x] `UnboundedReceiver::blocking_recv` - [PR merged](https://github.com/tokio-rs/tokio/pull/3262), needs to be released in the next release...
## Motivation & Vision One thing I'd like people to see about turtle is that, in a way, it is actually just a graphics engine with a very specific (additive)...
We have a few multiline scripts in our Azure DevOps Pipeline. For example: https://github.com/sunjay/turtle/blob/dc80b658717134366b7fc387ce251f327580d1bb/azure-pipelines.yml#L61-L66 Originally when I set this up, I expected that if any of those lines failed, the...
The major rewrite in #173 was a success, but unfortunately, I can't make a new release yet because of some platform-specific bugs in some of the crates we now depend...
To further our goal of making this library as easy to use as possible, we should consider a way to make the library compile to WASM/JS and then run in...
The LOGO programming language has a [fill command](http://fmslogo.sourceforge.net/workshop/flags.shtml) which essentially performs a [flood fill](https://en.m.wikipedia.org/wiki/Flood_fill) starting at the turtle's current position. > ## Filling in Solid Shapes > Now that we...
The [Python turtle module](https://docs.python.org/3.3/library/turtle.html) has [10 speed levels](https://docs.python.org/3.3/library/turtle.html?highlight=turtle#turtle.speed). The turtle crate started with 10 speed levels, but after getting impatient with how slow many drawings were, I changed that to...
> *Note: This issue has been rewritten to reflect the current details as of Oct 5, 2020. See the edit history for the prior (now outdated) versions.* **Goal:** Provide some...
For https://github.com/sunjay/turtle/issues/179 this implements generating the svgs from the doc tests using `docs_image` feature flag. There was one main slight complication in that a few examples required the user to...