0.2.0 • Published 6 months ago

@lbacik/gls v0.2.0

Weekly downloads
2
License
LGPL-2.1-or-later
Repository
github
Last release
6 months 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

6 months ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago