A 3D javascript based version of the Turtle Blocks activity.
JavaScript Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
activity
css
icons
images
js
lib
samples
README.md
index.html

README.md

Turtle Art 3D Javascript Prototype

A 3D, javascript/WebGL based implementation of the turtle Blocks Activity. Link to the Preview : http://ishan28mkip.github.io/turtleBlocks3D

How to run

Everything is similar to the turtle Blocks js version. Only the turtle commands have changed to incorporate the 3D functions. These commands are explained below:

  1. setPositionX,Y,Z : Sets the X,Y,Z coordinate respectively.
  2. setPosition : Sets the X,Y,Z coordinate together in a three argument block.
  3. forwardX,Y,Z : Move along the X,Y,Z axis respectively.
  4. setRoll : Sets the rotation angle about the X axis in degrees.
  5. setPitch : Sets the rotation angle about the Y axis in degrees.
  6. setYaw : Sets the rotation angle about the Z axis in degrees.
  7. doRoll : Rotates about the X axis in degrees.
  8. doPitch : Rotates about the Y axis in degrees.
  9. doYaw : Rotates about the Z axis in degrees.

Screenshots

Sample Screenshots

WithoutMenu


WithMenu

Problems

  1. Camera change is not yet possible.
  2. The coordinate axis is rotated by default, y axis pointing in the default z axis direction.
  3. Erase does reset the cursor position but does not erase the drawn lines.

Next Version Features

  1. Add camera position change support.
  2. Fix the erase button. (Add support to erase the lines)

Old Versions

https://github.com/ishan28mkip/turtle3DOld