Commit graph

5 commits

Author SHA1 Message Date
f911c7bd2a
fix: incorrectly computed mask 4 bc of floating point
Made a separate function `intDiv` for integer division,
that's more readable than `Math.floor` inside expression.
The function performs `a / b` and then truncates the fractional part
using the fastest method: binary `~~`
2024-07-08 12:07:38 +04:00
35697b5b7d
fix: use scale value from input 2024-07-06 11:42:26 +04:00
e9f803d6be
fix: clear canvas 2024-07-06 11:40:44 +04:00
d10ee19892
add copyright holder 2024-07-06 11:40:25 +04:00
4ef9886508
initial commit 2024-07-06 11:36:31 +04:00