spryte 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
# spryte
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**Blazing fast 2D rendering for the web: 2–4× faster than the most popular renderer, at a ninth of its size.** Every number is checked pixel for pixel in [2dbench](https://github.com/debuffjp/2dbench), an open benchmark you can [run on your own device](https://debuffjp.github.io/2dbench/mobile.html).
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+

|
|
6
|
+
|
|
7
|
+
You draw in immediate mode (sprites, bulk sprites, rects, circles, lines, text, clips, blend modes, render targets and custom shaders), and spryte batches it onto WebGL2 with instancing, falling back to Canvas 2D automatically. No dependencies, no scene graph, no game framework.
|
|
8
|
+
|
|
9
|
+
> **Alpha.** spryte is the renderer inside [debuff](https://debuff.jp), where games already run on it. The API may still change before 1.0. It's measured mostly on desktop Chrome (Windows and Linux), plus one iPhone; Safari on macOS, Firefox and Android are barely covered yet. [Run 2dbench on your device](https://debuffjp.github.io/2dbench/mobile.html) to help.
|
|
6
10
|
|
|
7
11
|
```bash
|
|
8
12
|
npm install spryte
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "spryte",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "Blazing fast 2D renderer for the web: 2–4× faster than the most popular one, at a ninth of its size. Verified in an open benchmark.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"2d",
|
|
7
7
|
"renderer",
|