Commit graph

10 commits

Author SHA1 Message Date
326844fe1c
feat: best scale auto-choose 2024-07-11 20:08:26 +04:00
a0259cc51d
fix: apply max-width including padding to all body>div-s
btw the fix doesn't work
so it's just a code cleanup
2024-07-11 20:01:23 +04:00
a6f1c1f49a
fix: correct description for gap
`gap=1px` means 1px around each module,
i.e. 2px between modules, not 1px.
yep, i know, such a bad name for this parameter,
but who cares?
2024-07-11 19:44:30 +04:00
ed0cffb8b3
feat: add grid gap & canvas outline 2024-07-11 18:55:11 +04:00
4931cdc097
feat: add highlight for id, align, timing patterns 2024-07-11 18:39:08 +04:00
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