Hacker Newsnew | past | comments | ask | show | jobs | submit | 1j01's commentslogin

A few points of feedback: - The keys you have to press are only shown once you press them, requiring trial and error unless you look at How To Play first. - It feels weird to me to press keys that are far apart to hit notes that are visually close together. - It needs a timing offset to sync the music to the gameplay. I had to purposefully delay my presses, or... play without music, which immediately improved my accuracy (49% -> 73%)


Definitely a mistake, and incredibly unlikely any human judgement was involved; jspaint is completely safe.



More information at the old domain: https://jspaint.ml


To do it "properly", wrap it in `undoable`, then you don't need use `trigger`, and you can undo it normally. :)

    undoable(function(){
        for(var i = 0; i < 1; i += 1/10000){
            var angle = i * 500;
            var dist = i * 2;
            var x = canvas.width * (1/2 + Math.cos(angle) * dist);
            var y = canvas.height * (1/2 + Math.sin(angle) * dist);
            tools[7].paint(ctx, x, y);
        }
    });


It changes the URL to store the image in a specific session, so if you close the tab by accident you can reopen it from history (or ctrl+shift+t in some browsers)

I've opened an issue for it now here: https://github.com/1j01/jspaint/issues/49


this version plays well with modern image formats :)


Yeah, it's super half baked. I can tell you that as the developer. I plan to focus on collaboration in the successor to this project, Mopaint: https://github.com/1j01/mopaint

(Rather than adding it after the fact.)


jspaint has a special shortcut, you can hold Ctrl while making a selection


I made it crop the image if you make a selection while holding Ctrl. It's not how it's done in any version of mspaint, but I considered it useful enough.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: