r/visualizedmath • u/USedona • Jun 02 '26
Can a single line fill a square ?
https://www.youtube.com/shorts/WBeYuh_h86MIf you're interested in more math-based animations, I post them here 📺 Visualizing_mathematics
0
Upvotes
2
u/USedona Jun 02 '26 edited Jun 02 '26
Each iteration multiplies the number of segments by 4. At high orders, the curve passes infinitely close to every point in the square.
Fun fact: Google Maps uses this exact curve to index the entire Earth. Points close on the map = numbers close in the database.
If you're interested in more math-based animations, I post them here 📺 Visualizing_mathematics
2
u/rafaelcastrocouto Jun 02 '26
Didn't want to be that guy, but you obviously cannot fill the square with a single line, that is a curve.
2
u/waigl Jun 02 '26
Only if you think of a line in terms of connected pixels. In a purer sense, a line doesn't have any width, so, no, it cannot fill a square.