I built a lo-fi device like this (with a LED matrix instead of a flipboard) and I didn't really find great software for building animations at a low pixel count. I ended up doing something super low level where I draw to a buffer directly using ImageMagick. If there's a better library I'd love to know.
Show HN: I built a JavaScript-powered flipdisc display
91–100 of 131 posts
Re: Show HN: I built a JavaScript-powered flipdisc display
#92This is so cool. I love to see Javascript used for stuff like this. It blew my mind that the James Webb Telescope uses a custom Javascript runtime for a lot of the onboard functions.
Why do you love to see a particular language used for something? It would be like being excited at seeing someone using aluminum to build something over steel/wood/etc.
Re: Show HN: I built a JavaScript-powered flipdisc display
#93This is so cool. I love to see Javascript used for stuff like this. It blew my mind that the James Webb Telescope uses a custom Javascript runtime for a lot of the onboard functions.
That's horrifying. Javascript doesn't belong anywhere near anything which isn't a web page, and even then it's questionable.
Re: Show HN: I built a JavaScript-powered flipdisc display
#94The clicking, its sooooo satisfying.
Re: Show HN: I built a JavaScript-powered flipdisc display
#95> near limitless lifespan The lifespan is probably not as limitless as you might have imagined, the discs tend to fall off or get stuck. But they are really neat while they are working, especially how they sounds. I was at an office with these flip dot displays, and eventually we dismantled the display. I took some picture of the pieces and you can see how stuck discs look like: https://photos.app.goo.gl/onpHefUVL8oe…
> The lifespan is probably not as limitless as you might have imagined How do you remove dust from them? I imagine that's when they break.
Re: Show HN: I built a JavaScript-powered flipdisc display
#96I built a lo-fi device like this (with a LED matrix instead of a flipboard) and I didn't really find great software for building animations at a low pixel count. I ended up doing something super low level where I draw to a buffer directly using ImageMagick. If there's a better library I'd love to know.
The stack here is lo-res but not lo-power. “…we’re leveraging existing web tech that we’ve found to work well - PIXI for general 2D rendering, Three.js for 3D rendering, Matter.js for physics engine, and GSAP for animations. We also utilize node-canvas, and node-gl for server-side rendering.”
Re: Show HN: I built a JavaScript-powered flipdisc display
#97Earlier quoted context omitted.
The stack here is lo-res but not lo-power. “…we’re leveraging existing web tech that we’ve found to work well - PIXI for general 2D rendering, Three.js for 3D rendering, Matter.js for physics engine, and GSAP for animations. We also utilize node-canvas, and node-gl for server-side rendering.”
I'd be fine with power, I'm running off a raspberry pi that can do all this easily. Still I'm not sure how I'd go about plugging something like PIXI onto a custom display? It draws to a screen from a browser, and I need it to draw to a memory buffer...
Re: Show HN: I built a JavaScript-powered flipdisc display
#98Re: Show HN: I built a JavaScript-powered flipdisc display
#99Re: Show HN: I built a JavaScript-powered flipdisc display
#100This looks amazingly cool. Love the old school “analog” feel of it Thank you for sharing
Well, it's mechanical but still digital. Each pixel is either on or off. Locations are discrete and finite.
Or traveling. I imagine if you wanted to you could position the disc at any point between “on” and “off” by constantly flipping it back and forth.