News for hackers. Stuff that matters.
Re:JSNES: A JavaScript NES emulator by Ben Firshman by mynameishere on Tuesday September 27, 2011 @07:44PM (#3045781)
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.
Re:JSNES: A JavaScript NES emulator by Ben Firshman by program on Wednesday September 28, 2011 @04:26AM (#3046996)
The 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.
Re:JSNES: A JavaScript NES emulator by Ben Firshman by akx on Thursday September 29, 2011 @09:26AM (#3052329)
Or you can let the browser do it for you.

<canvas width="256" height="240" style="width:512px;height:480px"></canvas>