rapid-render 0.0.2 → 0.0.3
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 +19 -3
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
# 🚀 Rapid.js
|
|
2
2
|
|
|
3
|
-
⚠️ This project is under development and will be completed soon ⚠️
|
|
4
|
-
|
|
5
3
|
A highly efficient and lightweight WebGL renderer capable of rendering 10k sprites at 60fps.
|
|
6
4
|
|
|
7
5
|
|
|
8
|
-
[
|
|
6
|
+
[demo](https://nightre.github.io/Rapid.js/demo/) ( [source code](./demo/index.js) )
|
|
9
7
|
|
|
10
8
|
# Features:
|
|
11
9
|
* Fast rendering ( capable of rendering 10,000 sprites at 60fps )
|
|
@@ -15,6 +13,24 @@ A highly efficient and lightweight WebGL renderer capable of rendering 10k sprit
|
|
|
15
13
|
* Matrix stacking
|
|
16
14
|
* Color manipulation
|
|
17
15
|
|
|
16
|
+
# Install
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
npm i rapid-render
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Or use unpkg
|
|
23
|
+
|
|
24
|
+
```html
|
|
25
|
+
<script src="https://unpkg.com/rapid-render/dist/rapid.umd.cjs"></script>
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
# Import
|
|
29
|
+
|
|
30
|
+
```js
|
|
31
|
+
import { Rapid } from "rapid-render"
|
|
32
|
+
```
|
|
33
|
+
|
|
18
34
|
# Useage
|
|
19
35
|
|
|
20
36
|
```js
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rapid-render",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"rollup": "^4.12.0",
|
|
22
22
|
"rollup-plugin-server": "^0.7.0",
|
|
23
|
+
"rollup-plugin-string": "^3.0.0",
|
|
24
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
23
25
|
"rollup-plugin-typescript2": "^0.36.0",
|
|
24
26
|
"tslib": "^2.6.2",
|
|
25
|
-
"typescript": "^5.3.3"
|
|
26
|
-
"rollup-plugin-string": "^3.0.0",
|
|
27
|
-
"rollup-plugin-terser": "^7.0.2"
|
|
27
|
+
"typescript": "^5.3.3"
|
|
28
28
|
}
|
|
29
29
|
}
|