top | item 46519240 (no title) H3X_K1TT3N | 1 month ago This should work: function scale(multi) { cnv = document.getElementsByTagName('canvas')[0]; cnv.width = 358 * multi; cnv.height = 360 * multi; window.focalLength = 200 * multi; window.init(); } scale(4); discuss order hn newest tantalor|1 month ago Very nice.Paired that with cnv.requestFullscreen() for a much better experience.Then I started noticing the dropped frames every few seconds due to GC pauses.> Major GC> Duration 43.52 ms (self 26 μs)> Collected 53.1 MBOuch!
tantalor|1 month ago Very nice.Paired that with cnv.requestFullscreen() for a much better experience.Then I started noticing the dropped frames every few seconds due to GC pauses.> Major GC> Duration 43.52 ms (self 26 μs)> Collected 53.1 MBOuch!
tantalor|1 month ago
Paired that with cnv.requestFullscreen() for a much better experience.
Then I started noticing the dropped frames every few seconds due to GC pauses.
> Major GC
> Duration 43.52 ms (self 26 μs)
> Collected 53.1 MB
Ouch!