The process was:
- Curate the 193 state flags plus the flag of the UN itself.
- Construct 194 approximations of those flags using JavaScript and HTML canvas elements.
- Reorder those approximations into a loop of 194 transitions based on similarity.
- Encode the 194 animations.
- Create a web page to allow the user to explore the animations.
Of course, there are 194! ÷ 2 animations needed to get between any two flags directly, but that's such an absurd number I didn't even think about trying. I did think about creating "shortcuts" between flags in the loop and minimising the number of animations between two arbitrary flags to, say, 10, but this is still a huge amount of work. I'll leave it as an exercise for the reader to work out the total number of animations required to reduce the maximum number of hops to "N".
In an ideal world, I'd animate the high-quality SVG images themselves; but that's also a task for another day ... if ever.
No comments:
Post a Comment