|
|
|
|
|
by volfied
2354 days ago
|
|
I spent some time (but not enough) to add a tilt slider. Ultimately what it did was change the renderRows fY calculation to: let fY = y - Math.floor(scale * (height - minHeight) / heightRange) - r * tilt * 0.1;
Of course, this creates blank space at the bottom, but I think it makes things a little more interesting without fudging too much with the scale and getting sharp peaks.When I find more free time, I can flesh it out and make a PR, but I love this idea. Thanks for sharing it! |
|