Live data from Hacker News

Show HN: I built a JavaScript-powered flipdisc display

flipdisc.io

91–100 of 131 posts

Re: Show HN: I built a JavaScript-powered flipdisc display

#91
post #50

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.

[dead]

Re: Show HN: I built a JavaScript-powered flipdisc display

#92

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

tribes

Re: Show HN: I built a JavaScript-powered flipdisc display

#93

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

Maybe the engineers at NASA know what they're doing?

Re: Show HN: I built a JavaScript-powered flipdisc display

#95
post #84

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

You can individually remove the discs and use a compressed air cannister, but it's very laborious.

Re: Show HN: I built a JavaScript-powered flipdisc display

#96
post #89
post #50

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.

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

#97
post #96
post #89

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

You should be able to use the library mentioned in the article with a few small modifications to connect to your device.

Re: Show HN: I built a JavaScript-powered flipdisc display

#100
post #83
post #12

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

> Each pixel is either on or off.

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.

Post reply on HN