Metadata-Version: 2.1
Name: jbturtle
Version: 0.2.4
Summary: Simple Turtle system for JupyterLab
Home-page: UNKNOWN
License: UNKNOWN
Platform: UNKNOWN
Description-Content-Type: text/markdown
License-File: LICENSE

# jupyterlab-jbturtle
Simple Turtle module for JupyterLab

## JBTurtle
* This module uses **Pillow**
* Attention: Almost impractical with FireFox because of FOUC. **Do not use with FireFox.**

## Install
```
pip install Pillow
pip install jbturtle
``` 
## Sample
```
from jbturtle import *

turtle = JBTurtle(640, 400)
nn = 0
for count in range(100):
  turtle.line_hsv(nn, 1, 1)
  turtle.forward(100)
  turtle.turn_right(85)
  nn += 5
```
## Functions
* JBTurtle(xs, ys)
  * Constructor
  * xs: x-size of workspace
  * ys: y-size of workspace
* init(xs, ys)
  * Initialization
  * xs: x-size of workspace
  * ys: y-size of workspace
* show()
* forward(dst)
* turn_right(angle)
* turn_left(angle)
* move(x, y)
* pen_up()
* pen_down()       
* speed(spd)
* line_width(lw)
* line_color((r, g, b))
* line_rgb(r, g, b)
* line_hsv(h, s, v)


