Skip to content

sk-Prime/nimDraw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

nimDraw

A simple drawing package for nim

Dependency


only single pixel line drawing is supported. in future try to implement some of the features listed below

  • flood fill
  • shape fill
  • line width
  • storing mechanism of shape steps
  • text insertion
Angle   90 deg
          |
0 deg ----|---- 180 deg or -0 deg
          |
        270 deg
        -90 deg

Go to test folder to see some examples

Spiral flower Crown Rect

Demo

Draw Circle

import nimDraw

var turtle = newWalker((400,400),(200,250),length= 10, angle= 10)
for i in 0..36:
  turtle.walk()
  turtle.angle += 10
discard turtle.canvas.saveAsPng("circle.png")

About

A simple drawing package for nim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages