Isaiah Odhner
Isaiah Odhner
Might also want to let you know right away when you open a second window with the same session. (Could store a timestamp along with the session so another tab...
Also this should apply to 98, and I'm not sure how it might apply to jspaint when it's in an iframe; it might compound, which wouldn't be good.
```js var updateZoomScale = function(){ var desiredDPR = Math.floor(devicePixelRatio); document.body.style.zoom = desiredDPR / devicePixelRatio; }; updateZoomScale(); var lastDPR = devicePixelRatio; addEventListener("resize", function(){ updateZoomScale(); if(lastDPR !== devicePixelRatio){ console.log("ur zoomin'"); // TODO:...
I've implemented a compromise approach, where it chooses between disabling antialiasing or not based on whether it's an integer scaling size (or large enough that it doesn't matter that the...
Someone actually did this already in a fork of jspaint, although I believe it's gone from GitHub. Anyways, I have the GUI as a library [os-gui](https://github.com/1j01/os-gui), and I would like...
Multiplayer support is garbage. I will rewrite it at some point, and it will be glorious.
I've had an idea for a while now to create module to help integrate web apps into many different platforms. It would build apps for Windows, OS X, Linux, BSD,...
I would fork a simple ownCloud text editor as a basis for a project like this. But ownCloud seems too hard to set up and too corporate-focused to interest me....
One important thing to note is that on some screens, a CSS pixel is not a device pixel, and so you have to use [`window.devicePixelRatio`](https://developer.mozilla.org/en-US/docs/Web/API/Window/devicePixelRatio) if you want a `canvas`...
Zooming is done by setting the visual dimensions (`canvas.style.width/height`) differently to the resolution of the canvas (`canvas.width/height`). ```js canvas.style.width = canvas.width * magnification; canvas.style.height = canvas.height * magnification; ``` By...