All Projects → sunjay → Turtle

sunjay / Turtle

Licence: mpl-2.0
Create Animated Drawings in Rust

Programming Languages

rust
11053 projects

Labels

Projects that are alternatives of or similar to Turtle

anki-canvas
🖌️ Drawing area widget for Anki to practice Kanji writing
Stars: ✭ 25 (-94.37%)
Mutual labels:  draw
Circularprogressbar
A subclass of {android.view.View} class for creating a custom circular progressBar
Stars: ✭ 255 (-42.57%)
Mutual labels:  draw
Inkkit
Drawing and Geometry made easy on iOS - now in Swift 3.0
Stars: ✭ 367 (-17.34%)
Mutual labels:  draw
colorquant
Go library for color quantization and dithering
Stars: ✭ 75 (-83.11%)
Mutual labels:  draw
awesome-canvas
Canvas资源库大全中文版。An awesome Canvas packages and resources.
Stars: ✭ 288 (-35.14%)
Mutual labels:  draw
Flutter Canvas
About using of canvas in the flutter
Stars: ✭ 259 (-41.67%)
Mutual labels:  draw
PhotoMarker
实现了对图片的标注功能,用户可以添加标注点,并且可以对标注点进行重命名,改变坐标位置,或者删除标注点。以及选择标记点的字体颜色,以及标注点的图标!一系列操作以后可以将编辑过的图片保存至本地相册 (PhotoMarker allows you to take notes on your photos, so that you can make it more expressive. You can add mark points and edit them, change the color of the mark point text, and change the mark point icon. It also allows you to save edited images to…
Stars: ✭ 16 (-96.4%)
Mutual labels:  draw
Mindmapp
🚀 Web application to draw mind maps.
Stars: ✭ 401 (-9.68%)
Mutual labels:  draw
Socket.io
NodeJS《你画我猜》游戏
Stars: ✭ 255 (-42.57%)
Mutual labels:  draw
Pixel Art React
Pixel art animation and drawing web app powered by React
Stars: ✭ 3,503 (+688.96%)
Mutual labels:  draw
canvas-constructor
An ES6 utility for canvas with built-in functions and chained methods.
Stars: ✭ 96 (-78.38%)
Mutual labels:  draw
Cirque
An iOS component that enables you to draw multi color circle strokes with gradient trasitions between colors
Stars: ✭ 23 (-94.82%)
Mutual labels:  draw
Vuewordcloud
Generates a cloud out of the words.
Stars: ✭ 284 (-36.04%)
Mutual labels:  draw
isometric
A lightweight JavaScript library, written in TypeScript to create isometric projections using SVGs
Stars: ✭ 53 (-88.06%)
Mutual labels:  draw
Arkit Line Drawing
Changed the default ARKit project to draw a line where the camera is positioned
Stars: ✭ 390 (-12.16%)
Mutual labels:  draw
XYDebugView
XYDebugView is debug tool to draw the all view's frame in device screen and show it by 2d/3d style like reveal did.
Stars: ✭ 101 (-77.25%)
Mutual labels:  draw
Simple Draw
A canvas you can draw on with different colors.
Stars: ✭ 256 (-42.34%)
Mutual labels:  draw
React Sketch
Sketch Tool for React-based applications, backed up by FabricJS
Stars: ✭ 414 (-6.76%)
Mutual labels:  draw
Convnetdraw
Draw multi-layer neural network in your browser
Stars: ✭ 391 (-11.94%)
Mutual labels:  draw
Thinkmap
Draw a tree in Android。在 Android 上绘制思维导图控件,让思维更简单。
Stars: ✭ 285 (-35.81%)
Mutual labels:  draw

turtle

Crates.io Docs.rs Crates.io Crates.io Build Status Codecov Zulip Tokei Line Count

Tweet your drawings to us on Twitter at @RustTurtle and follow us to see what is being created!

Create animated drawings with the Rust programming language. This crate is a tool for teaching programming by drawing pictures. Learning this way is fun and interesting for people of all ages!

The idea: You control a turtle with a pen tied to its tail. As it moves across the screen, it draws the path that it follows. You can use this to draw any picture you want just by moving the turtle across the screen.

turtle moving forward

Documentation

Example

As a simple example, you can draw a circle with only the following code:

use turtle::Turtle;

fn main() {
    let mut turtle = Turtle::new();

    for _ in 0..360 {
        // Move forward three steps
        turtle.forward(3.0);
        // Rotate to the right (clockwise) by 1 degree
        turtle.right(1.0);
    }
}

This will produce the following:

turtle drawing a circle

See the examples/ directory for more examples of how to use this crate.

Need help?

The following are some resources you can use to find help when you run into a problem. The links are listed in the order you should try each one, but feel free to come to the Turtle Zulip anytime if you are lost.

Contributing

See CONTRIBUTING.md for information about contributing to this project including how to build and test the project, submit new examples, report bugs, and more.

Inspiration & Goals

This crate is inspired by the Logo educational programming language. Many languages contain implementations of Logo's "turtle graphics". For example, the Python programming language comes with a built-in turtle module. This crate is largely inspired by the Python implementation, but uses Rust conventions and best practices to provide the best possible platform for learning Rust.

The goal of this crate is to be as easy to approach as possible and also provide the opportunity to explore Rust's most advanced features. We welcome contributions from anyone and everyone, including those that are new to the Rust programming language.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].