1.0.5 • Published 7 years ago

seescript v1.0.5

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

SeeScript

A Package for a Programming Language & Interpreter for SVG Animations

Installation

> npm install seescript --save

Getting Started

You must include a SVG element with the ID of canvas

<svg id="canvas"></svg>

The JavaScript Code

const seeScript = require('seescript')

seeScript.runSeeScript('var box = rectangle (0,0,500,500,255,0,0);')

Language Documentation

Variables

set x as 10

Drawing

center 0,0
width 100
heigth 100

draw x

Example

set x as rectangle:
    center 0,0
    width 100
    heigth 100

draw x

update x:
    center 0,20
1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago