benevolent-games / toolbox

MIT License
2 stars 0 forks source link

canvas resolution is configurable via slider #17

Closed chase-moskal closed 1 year ago

chase-moskal commented 1 year ago

the canvas could be displayed at different sizes.

we want to represent resolution in terms of a slider, from 10% to 100% -- the actual rendering resolution should be some percentage of the actual canvas dimensions

chase-moskal commented 1 year ago

the current implementation seems to be backwards or something, when i lower it down to 10, it seems to render at high resolution, and the framerate gets worse

resolution at 10 should be very blurry and low-resolution

resolution at 100 should be crisp and render 1:1 for css screen pixels

we should allow higher resolutions than 100%, because high density screens can actually render "sub-pixel" densities

the slider should have a range from 10 to 200 (default is 100)