Show HN: Paper Programs – Run JavaScript on pieces of paper
Hi! I was asked to repost this (a la <a href="https://news.ycombinator.com/item?id=11662380" rel="nofollow">https://news.ycombinator.com/item?id=11662380</a>), so here goes. I'm JP, and I created this project after visiting Dynamicland a couple of times. I wanted to capture some of the magic there in my living room, and decided to implement the "programs running on pieces of paper" part.<p>It was super fun implementing this. I ended up using OpenCV.js, which has only just been released, reimplementing an OpenCV algorithm and learning about computer vision, learning about OffscreenCanvas, which is so experimental that it crashes periodically (a bug I was able to isolate and submit to the Chrome dev team), learning about how to mount a projector facing downward, and so on.<p>Few things are as satisfying as a piece of paper rolling out of a printer literally onto the floor, where it starts executing. And then cutting it up with a pair of scissors to change its shape.<p>I hope you have as much fun with this as I do!!<p>PS: If you want more inspiration for building cool stuff with projectors and cameras, check this out: <a href="http://tangible.media.mit.edu/project/pico/" rel="nofollow">http://tangible.media.mit.edu/project/pico/</a> :) They have a ton more interesting projects like that!