Skip to content

kapilkaisare/nturtle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nTurtle

nTurtle is a turtle graphics library, i.e a tool that supports vector graphics programming using a relative cursor.

In plainer English, you use this library to draw stuff using a location and an orientation.

To understand what turtle graphics are, see Turtle graphics (Wikipedia).

This implementation offers just the basic primitives; the turtle can go forward, turn right or left. More primitives may be added later.

You create a turtle by writing:

var turtle = new nTurtle('canvas-container', 1000, 1000);

'canvas-container' is the id of the div element into which you'd like your canvas element drawn. The following two numbers represent the height and width of the canvas.

About

A turtle graphics library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published