UNPKG
pencil.js
Version:
latest (3.2.0)
3.2.0
3.1.0
3.0.2
2.4.0
2.3.1
2.3.0
2.2.1
2.2.0
2.1.0
2.0.0
1.18.0
1.17.0
1.16.0
1.15.0
1.14.0
1.13.1
1.13.0
1.12.0
1.11.0
1.10.3
1.10.2
1.10.1
1.10.0
1.9.2
1.9.1
1.9.0
1.8.1
1.8.0
1.7.0
1.6.6
1.6.5
1.6.4
1.6.3
1.6.2
1.6.1
1.6.0
1.5.0
1.4.1
1.4.0
1.3.1
1.2.0
1.1.0
1.0.2
1.0.1
1.0.0
0.9.2
0.9.1
0.8.3
0.8.2
0.8.1
0.8.0
0.7.1
0.7.0
0.6.0
0.5.1
0.5.0
0.4.1
0.4.0
0.3.0
0.2.0
0.0.4
0.0.3
0.0.2
0.0.1
Nice modular interactive 2D drawing library.
pencil.js.org
pencil-js/pencil.js
pencil.js
/
src
/
modules
/
math
/
readme.md
18 lines
(10 loc)
•
248 B
Markdown
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Math
Wrapper
for
some mathematical helpers.
## Examples
```js
// This will override the native Math !
import { Math }
from
"pencil.js"
; Math.truncate(
-99.9
);
// -99
```
## Documentation
Go check the [full documentation](documentation.md).