4 ms·
I don't think it's scaling. Go on the Zeus example and play with it. You'd be surprised. This is beautiful.
by svalorzen 11y ago
I don't think it's scaling. Go on the Zeus example and play with it. You'd be surprised. This is beautiful.
- kenbellows 11y agoThere's certainly more than just scaling involved, but there's definitely scaling in there.
- S4M 11y agoI have the feeling is that the algorithm involves different pictures that superficially look the same but represent different things, and the code decides which picture to show according to the coordinates of the mouse, and them rescale it. I tried briefly to read the code to see if I was right but failed so - I'm not good at reading other people's code :( - so someone please correct me if I'm wrong.
- gtfierro 11y agoIf you look at the "image" description files (e.g. http://essenmitsosse.de/pixel/scripts/zeus.px http://essenmitsosse.de/pixel/scripts/zeus.px, linked by another comment), then it looks like the files define a set of constraints on the "components" in an image such as Zeus's arm , the bird beak, the cow's leg, etc. When the mouse moves, my guess is those constraints determine which components are rendered and where they appear on screen.