Better HN
topnewbestaskshowjobs
Log inSign up

1j01

29 karma · joined Nov 24, 2015 (11y ago) · 14 submissions

Submissions

1.

Show HN: Open-source hands-free mouse control with Tracky Mouse(github.com ↗)

2 points · by 1j01 · 3mo ago · discuss

comment 9mo ago · link · parent

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%)

3.

Show HN: MIDI Recorder, the easiest way to record MIDI(midi-recorder.web.app ↗)

2 points · by 1j01 · 4y ago · discuss

comment 8y ago · link · parent

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

comment 8y ago · link · parent

Yup, it's a known issue: https://github.com/1j01/jspaint/issues/113

comment 8y ago · link · parent

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

7.

JS Paint has a new domain, jspaint.app(jspaint.app ↗)

62 points · by 1j01 · 8y ago · 14 comments

comment 8y ago · link · parent

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);
        }
    });

comment 8y ago · link · parent

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

comment 8y ago · link · parent

this version plays well with modern image formats :)

comment 8y ago · link · parent

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.)

comment 8y ago · link · parent

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

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

It's Ctrl+NumpadPlus/Minus on mspaint, or just NumpadPlus/Minus on jspaint; no way to do it beyond the preset sizes without a numpad, so far, I'm afraid