Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Etch a Sketch with a Gamepad (medusis.com)
1 point by bambax on Dec 2, 2022 | hide | past | favorite | 1 comment
While toying with receiving gamepad commands in the browser, I made this today. It's a simple Etch A Sketch that can be controlled by joysticks from a connected gamepad. (It's also possible to move the rotary buttons with a mouse.)

In a way it's a little easier than the original, because it allows to turn the 'draw' function on or off, so the user can position the dot somewhere and start drawing from there. But joysticks are quite imprecise, so drawing curves or diagonals is pretty hard!

The gamepad can be configured to attach axes and buttons to the actions.

The current drawing can be downloaded as a .png at any time by clicking on the "download" link.




... Also: if one starts to draw and then connect a gamepad, the current canvas is cleared. This is hard to fix without removing the possibility of clearing the canvas from a gamepad button.




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

Search: