3 ms·
There's a bunch of java applets that do this (popular hobby project I guess), and one commonality among them always bothered me: Why don't they make the screen
by mynameishere 15y ago
There's a bunch of java applets that do this (popular hobby project I guess), and one commonality among them always bothered me: Why don't they make the screen bigger? Not that much of a performance hit.
- program 15y agoThe standard display resolution of the NES is 256 horizontal pixels by 240 vertical pixels. Upscaling on a canvas context can be a very slow operation even if you use the nearest-neighbor approach.
- akx 15y agoOr you can let the browser do it for you. <canvas width="256" height="240" style="width:512px;height:480px"></canvas>