0.2.0 • Published 2 years ago

@lbacik/gls v0.2.0

Weekly downloads
2
License
LGPL-2.1-or-later
Repository
github
Last release
2 years ago

gls

This library is a part of Gls-Web application.

Its goal is to provide class to render objects (Gls) that contains one or more animated elements called "snakes".

installation

npm

npm i @lbacik/gls

Gls json file structure

Example of Gls json file (more examples you can find at Gls-Web repository:

{
    "worms": [
        {
            "path": [
                [x, y],
                ...
            ],
            "head": [x, y],
            "drawHead": true,
            "length": 100,
            "direction": false,
            "step": 2,
            "color": "lightskyblue",
            "width": 2,
            "pathPoints": true,
            "pathPointsColor": "red",
            "visible": true
        }
    ]
}

TODO

  • use json-schema to describe (and validate) Gls json file
0.2.0

2 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago