0.24.0 • Published 7 months ago

@truefusion/skittle v0.24.0

Weekly downloads
-
License
-
Repository
github
Last release
7 months ago

skittle

Skittle is an API-agnostic, HTML5-canvas library inspired by origami.js. Unlike most other canvas libraries, skittle is designed with web components in mind, giving you the freedom to work with any HTML5 canvas on your terms. Skittle mostly only cares about rendering. Things like animations and pointer events are left in the hands of the developer. Nevertheless, we provide basic examples on ways to deal with things like animations and hit detection.

import * as Skittle from '@truefusion/skittle';

var $skittle = new Skittle.Layer();

$skittle.shapes.add({
	type: 'rect',
	x: 0,
	y: 0,
	width: 100,
	height: 100,
});

$skittle.draw();

Install

npm install @truefusion/skittle --save

Project setup

npm install
npm run build
0.24.0

7 months ago

0.23.0

9 months ago

0.21.0

12 months ago

0.20.0

12 months ago

0.19.0

12 months ago

0.17.2

12 months ago

0.17.3

12 months ago

0.14.0

12 months ago

0.15.0

12 months ago

0.16.0

12 months ago

0.17.0

12 months ago

0.18.0

12 months ago

0.17.1

12 months ago

0.22.11

11 months ago

0.22.7

11 months ago

0.22.6

11 months ago

0.22.10

11 months ago

0.22.5

11 months ago

0.22.4

11 months ago

0.22.3

11 months ago

0.22.2

11 months ago

0.22.1

11 months ago

0.22.0

11 months ago

0.21.1

12 months ago

0.22.9

11 months ago

0.22.8

11 months ago

0.13.0

1 year ago

0.12.0

1 year ago

0.11.0

1 year ago

0.10.0

1 year ago

0.9.0

1 year ago