News for hackers. Stuff that matters.
Re:Show HN: What would mechanical programming look like? by skellystudios on Friday October 30, 2020 @04:45AM (#24940331)
Really cool project – but I found it took quite a bit of digging before I could work out just how cool it is.

Have you thought about making the gallery from videos or even gifs? The movement is sort of the best part, and a bunch of people (like me) might skip the long video on the homepage.

Re:Show HN: What would mechanical programming look like? by felipereigosa on Friday October 30, 2020 @05:33AM (#24940551)
Interesting, I think I'll do that, I even already have the gif for the tetris machine, but I ended up not using it.
Re:Show HN: What would mechanical programming look like? by ZeikJT on Friday October 30, 2020 @01:47PM (#24944887)
GIFs are inefficient and pretty resource intensive, if possible use video formats instead. Modern machines are optimized for running video so they work quite a bit better.
Re:Show HN: What would mechanical programming look like? by roryokane on Saturday October 31, 2020 @04:37AM (#24949903)
To fill in the missing step, you can play a real video format in the browser using the HTML <video> element, optionally with the `loop` attribute (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/vi...). <video> elements, like GIFs, are supported in all browsers.

You can choose a codec and container format to export your video to with the help of https://developer.mozilla.org/en-US/docs/Web/Media/Formats/V.... All of those formats make for much smaller files than GIF-format video files.