Lurker News
I built the world's most impractical 1000-pixel display and anyone in the world can draw on it. It draws a single pixel at a time and takes 30-60 minutes to complete a single image. Anyone can participate in the project by voting for the next image to be drawn, and submitting images.

https://kilopx.com/

Comments (144) 77 threads

Show all comments

Showing thread 11 of 77

xpe2 replies#
You could order the presentation of a set of images by some distance metric :)

- naively: Levenshtein
- better: real world edit time based on a model of the display : probably dominated by XY travel distance

benholmen2 replies#
Oh I kinda love the idea of drawing the next one based on the pixel diff! Would be fun to game that queue.
skrebbel#
you could have it render a movie
munificent#
I was wondering about the algorithm to drive the plotter and update pixels, which ties into this.

Given the current image being shown and the next image, you (presumably) want to plot the pixels of the next image as quickly as possible. I believe the optimal algorithm is:
1. Calculate the set of pixels that are changed between the current and next image.
2. Find the shortest path from the plotter's current position through each of those pixels. I believe breadth-first search (O(n)) is sufficient here.
Running this on all potential upcoming images and choosing the one with the lowest total path cost would do what you propose under "better".