Part 2 (featuring Pi) is here: kzbin.info/www/bejne/qpymYnt-qtqebcU
@user-dy9tf1ch1n2 жыл бұрын
He's boring
@glg19692 жыл бұрын
Do you have a link to the Mathematica code for the turtle function, so I can show my son?
@mrphlip2 жыл бұрын
The most impressive part of this whole video is taking the paper off the plotter mid-print, showing it off, and then putting it back on the plotter and being able to continue the print with everything still lined up properly...
@PhilBoswell2 жыл бұрын
I'm guessing there's something analogous to "drawing pin holes" so that he can just attach the paper in the same fashion as before: I would be croggled if it actually uses old tech like drawing pins ;-)
@williamchamberlain22632 жыл бұрын
@@PhilBoswell doesn't it just use the _POWER OF HIS MIND?_
@MichaelOfRohan2 жыл бұрын
Im sure the paper was bucked against jigs on a couple adjacent sides
@MichaelOfRohan2 жыл бұрын
I still love you though
@unvergebeneid2 жыл бұрын
haha, ikr!
@alexelliott97332 жыл бұрын
1:41 - "a can of hyperbolic paraboloids" - that brought me back to my calculus class where my professor kept referring to that shape as a pringle
@TomRocksMaths2 жыл бұрын
I could watch that machine draw all day… sooooooo satisfying
@shruggzdastr8-facedclown2 жыл бұрын
Hey, you're the Navier-Stokes enthusiast! Seriously though, Tom, when's your next turn to guest host a Numberphile video?
@maestroeragon2 жыл бұрын
Imagine if it could do tattoos! If you have any space left, I'm sure you'd have plenty of ideas for the machine haha
@DqwertyC2 жыл бұрын
This is kind of amusing. I make Minecraft datapacks, usually based on fun math concepts. One of my main inspirations is this channel, and sometimes I'll try to recreate the processes in Numberphile videos in Minecraft. But this time, I posted a datapack about a topic just before you! My latest video was the Sierpinski Arrowhead Curve, which was generated with the same replacement method, and I'm working on a larger video about Lindenmayer (replacement) systems.
@talideon2 жыл бұрын
For those without Mathematica, Python has a built-in turtle graphics module.
@BrianBlock2 жыл бұрын
Yeah, you can basically find a turtle library/function for any language these days, this is a classic :)
@DeclanMBrennan2 жыл бұрын
@@BrianBlock Thanks Seymour Papert. You gave generations of kids some serious fun while they were learning through osmosis with the Logo Turtle and Language.
@flyingphysics96642 жыл бұрын
Mathematica comes free on the Raspberry Pi...
@odraz01012 жыл бұрын
@@flyingphysics9664 is it fully functional Mathematica or is there limitations? Does it have access to knowledge base?
@gregwochlik92332 жыл бұрын
I used that Python turtle module myself. I got it to draw the Sierpiński triangle myself. I picked up a recursive code on line.
@SquirrelASMR2 жыл бұрын
I really like this guy's math visualization animations
@rhoddryice54122 жыл бұрын
Videos with Henderson are always great. Looking forward to part II.
@grumpyrocker2 жыл бұрын
I remember programming the Turtle at school in the 1980s. We had a physical Turtle robot and we could get it to draw big images on the large sheets of paper on the floor.
@Baconlessness2 жыл бұрын
We had something similar that didn't draw anything. It looked like a small roomba that you could program with forwards, lefts and rights
@shruggzdastr8-facedclown2 жыл бұрын
We had something similar to "Turtle" on our Apple II-Es when I took a basic/introductory computer skills workshop for a one-marking period elective back in eighth grade back in 1985/'86 where we would input some simple geometric instructions, and the cursor ("turtle") would draw triangles, squares, pentagons, hexagons, stars, etc.
@vigilantcosmicpenguin87212 жыл бұрын
Dang, guess I missed out on the cool Turtle lessons as a student in the 2010s. We just programmed Turtle using the Java Virtual Machine.
@tfofurn2 жыл бұрын
I participated in a summer camp with the turtle robot. The instructor laid a course out on the floor and we each programmed our solution. One person thought the movement units were feet instead of inches, so on their attempt, the turtle barely moved. The teacher announced that the solution looked correct other than the scaling.
@RichardHolmesSyr2 жыл бұрын
Takes me back to the early 1970s when I was an undergraduate, tying up the (admittedly not much used) Hewlett-Packard XY plotter on a timesharing DECSystem 10 drawing dragon curves...
@JimC2 жыл бұрын
I plotted dragon curves around the same time! On the plotter we used, you had to issue each drawing command twice to get perfect corners. That was because the pen decelerated at the very end of a command and that was easier than coming to an abrupt stop. I used just one command for each segment of dragon curves because perfect corners made it look like an incomplete grid, not a curve. I also drew a 31-gon and all its diagonals.
@Rubrickety2 жыл бұрын
Finally a Numberphile video with a plot. 😉
@lonestarr14902 жыл бұрын
ba dum tss
@Superphilipp2 жыл бұрын
I definitely watch for the plot
@_rlb2 жыл бұрын
You've got 42 likes which is the best number of likes.
@deltalima67032 жыл бұрын
Video is boring but the peanut gallery is on point! :))
@aurelia80282 жыл бұрын
lol
@victorfromheart2 жыл бұрын
Honestly, this kind of video is the core reason I like this channel
@chinobambino52522 жыл бұрын
Amazing at 7:47 - very similar to the way DNA packs itself when condensing "coils of coils". Even the little ball-ish nodes look like the histone proteins that it coils around.
@Mathaveld2 жыл бұрын
Like a fractal, nature loves fractals :)
@matdex2 жыл бұрын
I thought the same! Wonder if there's a connection.
@carvoloco42292 жыл бұрын
Yeah! It brought the same idea to my mind!
@chinobambino52522 жыл бұрын
@@matdex connection is probably just an optimal packing formation - every (human) cell has around 6 feet of DNA that it needs to store inside a tiny nucleus. Fun fact: with ~10 trillion cells in your body, thats 10 billion miles of DNA you're carrying right now.
@xenorac2 жыл бұрын
@@chinobambino5252 No wonder I weigh so much...
@cedrdar3 ай бұрын
I’ve seen Sierpinski triangles many times but this was the first time I’ve realized the reflection line and the self-similar patterns leading up to it. Fascinating!
@DeclanMBrennan2 жыл бұрын
Next step up: for the turtle: an automated combine harvester let loose in a very large corn field to produce a Sierpinski triangle - that would certainly upstage the usual crop circle. :-)
@shruggzdastr8-facedclown2 жыл бұрын
I imagine that such a field would have to be super flat as I'd think any irregularities in the topography would likely throw off the combine-plotter
@DeclanMBrennan2 жыл бұрын
@@shruggzdastr8-facedclown Some of the modern combines have impressive technology for very accurately locating themselves in real time. Makes for a very expensive turtle though. :-)
@DickHolman2 жыл бұрын
@@shruggzdastr8-facedclown As long as the slopes are within the machines' physical limits, no problem. GPS, especially with local transponders & on-board physical sensors in the control-loop, are centimetre-accurate. And, you can remote-input driving instruction into the really expensive ones. :) Can anyone hack a combine?
@ideallyyours2 жыл бұрын
I would recommend using a Hilbert Curve ruleset instead, since fields tend to be made up of parallel rows and more closely resemble a square (or rectangle, which can be thought of as a series of (overlapping) squares.)
@misteragb75582 жыл бұрын
To me, this is pure art and I really mean that, especially what he shows in part 2
@japhethkallombo38202 жыл бұрын
I'm a biochemist and one of the Euler spirals you showed at 8:23 looks similar to the super packaging of genomic DNA in eukaryotic cells
@MysliusLT2 жыл бұрын
Matt was amazing in this video. The articulation, the body language, the work. More videos please.😊
@CHIEF_4202 жыл бұрын
Thanks!
@didiermuller57972 жыл бұрын
Thank you Numberphile! After seeing this video I made a version of it on Scratch. Pretty fun to show how it works to my little student and how math can be beautiful without being useful.
@rosiefay72832 жыл бұрын
Those spirals of spirals are beautiful! They remind me of how the continued fraction expantion of some real number x can be used to give more and more accurate rational approximations to x.
@zionklinger22642 жыл бұрын
Love it when I see my area of research in a numberphile video! Lindenmeyer systems which are what the guest used to generate a sierpinski triangle! Personally I'm using them to generate 3D trees!!
@po-chiachen29902 жыл бұрын
A neat thing about these plots for rational numbers is that your turtle will either run around in circles or run off forever in a set direction, depending on the fraction you give and the base. It can never do things like spiral outwards or walk pseudo randomly from a rational number input ; the exact fraction simply affects how much dawdling and pattern making it does along the way.
@same96432 жыл бұрын
Matt Henderson Numberphiles are definitely my new favourite Numberphiles
@numberphile2 жыл бұрын
You'll love the second part of this one!
@Zveebo2 жыл бұрын
I agree - great topics and very interesting. Plus his accent is very relaxing to listen to ☺️
@Челленджер-х5ж2 жыл бұрын
@@numberphile second part?) That's awesome!
@jackwisniewski38592 жыл бұрын
turtle graphics is my favorite python module, i love it a lot, its so very simple, powerful and fun i even have a yt video i made using it that im actually pretty proud of
@davidhutchins81442 жыл бұрын
I absolutely love this and all of Matt's videos. Cheers!
@danielstephenson75582 жыл бұрын
One of the most satisfying things I've ever printed is the Sierpinski Pyramid. Never had to take it's 'pen' off the paper the entire way up the object.
@veggiet20092 жыл бұрын
I love how in this video everything is regular and orderly, even when it seems chaotic it leads to something orderly. And the next video is just straight random chaos.
@rujon2882 жыл бұрын
Watching these videos is so relaxing
@awandererfromys16802 жыл бұрын
Man, I remember Turtle from computer class waaay back in 1989. Then last year I discovered Python comes with a simple Turtle implementation. So now I guess I only have to build a plotter lol! Really cool this program is still around.
@SoleaGalilei2 жыл бұрын
The spirals of spirals reminded me of how if you zoom out far enough in space, you see that galaxies are grouped into clusters and superclusters of galaxies.
@Brontalo2 жыл бұрын
Would be cool to expand on lindenmayer systems a lot more and show how they can mimic treelike fractals. An L-system i found is A -> - C++A B -> B - - C+ C -> D D -> AB you start with AB and + & - is a 45° turn.
@ideallyyours2 жыл бұрын
C -> D seems like a redundant step, you could replace it with C -> AB
@DaedalusYoung2 жыл бұрын
@@ideallyyours Try it, see if there's a difference skipping the D.
@RibusPQR2 жыл бұрын
Don't skip D-day.
@Brontalo2 жыл бұрын
I think in the limit they look the same with or without the D. But with D it's much easier to draw by hand on squared paper. On that the diagonal lines are longer by sqrt 2, but that doesn't change the original scaling much.
@ideallyyours2 жыл бұрын
@@Brontalo Maybe you found an elegant way to "time" when rules are applied by adding a holding step C -> D, so that different instances of C/D are substituted which could give a more organic and less layered look.
@laurilehtiaho96182 жыл бұрын
When I was in high school, I used to waste my French classes plotting the Dragon Curve on a paper like this. I would have pages of L's and R's marking left and right turns. Turns out I am both retaking French classes, and bumping to fractal drawings again - almost 20 years later. Now I am focusing a bit more on my French, though.
@gh0stdog892 жыл бұрын
The turtle gave me a great sense of nostalgia
@stephengraves93702 жыл бұрын
My favorite part of this video is the Pilot pen that the machine draws with
@Snowflake_tv2 жыл бұрын
I have been waiting for your new video! Thank you so much.
@numberphile2 жыл бұрын
Part 2 of this one will knock your mathematical socks off!
@Snowflake_tv2 жыл бұрын
@@numberphile 🧦👟 kick off! Yay!
@QuantumHistorian2 жыл бұрын
Ok, but why does the substitution trick work? I can kind of see that it replicates the nested symmetry of the shape, but it would be really nice to see a proof of it. Numberphile has recently been stopping _just_ short of the proper maths itself, which is a bit of a shame.
@ideallyyours2 жыл бұрын
It's not a trick so much as it's a rule. It's an example of Lindenmeyer systems (L-systems) that use rules like these to generate structures with some self-similarity or of a recursive nature. In addition to Forward and Turn (+/-) rules, there are also Scale (multiply/divide length), Scale (multiply/divide angle), Push/Pop (for generating branches), Trim (ends a branch), and in 3D you also have additional rules to deal with line thickness. The rules in this example are specifically designed to create self-similarity, which is not a guaranteed result of any combination of L-system rules.
@WAMTAT2 жыл бұрын
beautiful mathematics
@PushyPawn2 жыл бұрын
If he'd made the turtle a rabbit, that printer would have been much faster.
@effingineffable6852 жыл бұрын
Yay pretty maths drawings!
@kees-janhermans9102 жыл бұрын
If you follow the output of an input of the Zeta function, especially for the higher imaginary parts of the input, and especially between 0-1 for the real part, you get a lot of Euler spirals as well.
@bloomp79992 жыл бұрын
The turtle pattern reproducing itself in high iterations is amazing I Wonder what it looks like in billions of iterations
@AppleoTexza2 жыл бұрын
It is not a case of chaos....if we repeat it enough times and zoom out enough we can see that it essentially will be the Euler spiral nested on itself. we need theta to be an irrational number for a chaotic patterns with different degrees of chaos maximum being with the golden ratio i think
@stefanf9222 жыл бұрын
Would be cool to see a dragon curve made from Euler spirals.
@telotawa2 жыл бұрын
oh hey! i remember doing stuff like this in Scratch lol
@Philip_J2 жыл бұрын
Don't think I've been this early to a video before.
@HorvathDenis2 жыл бұрын
It inspired me in many ways. Thank you very much for sharing this video.
@davidgillies6202 жыл бұрын
It's amazing what you can do with recursive formal grammars. Douglas Hofstadter goes into great detail in this vein in _Gödel, Escher, Bach_ .
@YerpyMoose2 жыл бұрын
bloop, floop, gloop
@abox51842 жыл бұрын
Put that in an art gallery and it'll be better than most of the stuff there
@johnchessant30122 жыл бұрын
Love this guy! Also I want a whole video of just that machine
@zafishguy51662 жыл бұрын
I need this too. I also want the exact program he used so I can play around with it.
@user2552 жыл бұрын
Please post the spirals source code! 5:08 I want to see animation, where theta is increased very slowly (n being constant).
@kudosdc2 жыл бұрын
More Matt please
@topilinkala15942 жыл бұрын
I was in a course where we were studying computer programing and the system had turtle graphics package. Our mid term test was to program a clock that showed hours, minutes & seconds. I was the only one who programmed an analog clock. To get the hands moving I drew the first in on (B&W displays that time & age) and then off moved the angle and drew them on etc. Nice excercise but the teacher was not excited as the graphics were supposed to be the next part of the course.
@judychurley66232 жыл бұрын
The British artist Harold Cohen in the 70s had produced "Aaron" an expert system that produced important exhibitions (at the Tate Modern and elsewhere) producing large-scale artworks using a 'turtle' - but did not use pre-determined forms. Really interesting.
@goodboi6502 жыл бұрын
I knew all those repressed LOGO memories would come in handy someday
@shruggzdastr8-facedclown2 жыл бұрын
That Euler spiral done to 1,000,000 iterations looks reminiscent of the dragon curve to me
@n20games522 жыл бұрын
Very fun to watch the machine work and the patterns to emerge.
@juansalvemini92702 жыл бұрын
Really appreciate when you don´t just show the pretty picture, but take the time to build up to it from the basic rules. All that complexity from two simple statements!
@drenzine2 жыл бұрын
Remembered something like this years ago, i think it was the square squigle fractal vid.
@mebamme2 жыл бұрын
After a past video that called it "yooler spiral", this is the long-awaited redemption video.
@SquirrelASMR2 жыл бұрын
I wanna see these run forever
@hepiik.88222 жыл бұрын
I appreciate that you wrote Sierpiński correctly with ń, it isn't much nor a big thing, but it warms me a bit (im used too see polish surnames without polish letters) And overall, cool video!
@antonmiserez9342 жыл бұрын
Did he just call Pringles hyperbolic paraboloids at 1:42? I'm gonna use that...
@KurtSchwind2 жыл бұрын
@11:32 "It's within the rules of Numberphile". Then again, so is the Parker's Square.😀
@MutantMonke2 жыл бұрын
I remember learning about logo in 3rd grade. Drawing stuff was so good and fun as hell.
@jareknowak87122 жыл бұрын
I remember me programming the Turtle in the 1997 in the beginning of high school in Poland. Quarter of century ago. It was the first and the last time i had something in common with programming. I perfectly remember each and every command, just like it was yesterday, it was fascinating.
@MttGaming9044 ай бұрын
im gonna show you some interensting curves to draw Me: ill draw ur curves
@abelnyamori2 жыл бұрын
Please post the full video of the machine drawing the curve somewhere. That was amazing
@_modiX2 жыл бұрын
6:05 1.0456 is beautiful
@vgoj2 жыл бұрын
Brady, do you still sell the brown papers on ebay ?
@任柳杰2 жыл бұрын
Love this cute thing ! You may be interested to try the angle list [1:0.99:100000] and Boom, a symmetric and beautiful pattern !
@SaveSoilSaveSoil2 жыл бұрын
Love the spiral of spirals!!! For Sierpinski, what happens when you do other angle pairs except +/- pi/3?
@benwilletts82502 жыл бұрын
Thanks for the upload. Very interesting indeed.
@UncleKennysPlace2 жыл бұрын
This reminds me of writing HPGL scripts back in the day, to run my serial plotter.
@dedwarmo2 жыл бұрын
Has Part 2 been posted yet?
@SoSo-li6dn2 жыл бұрын
If anyone is wondering, the original is called an axidraw - sold by EvilMadScientist, originally designed by Lesley Wilson. I have one and I am still paying for it !
@jamielondon64362 жыл бұрын
"[…] from so simple a beginning endless forms most beautiful and most wonderful have been, and are being, evolved."
@tomoki-v6o2 жыл бұрын
euler spiral used in transportation engineer .like highway and road design
@05degrees2 жыл бұрын
The spirals of higher order were a surprise! Though not too strange in retrospect.
@AleksyGrabovski2 жыл бұрын
Basically, Numberphile has become just a huge Python promotion channel
@MichaelOfRohan2 жыл бұрын
I love this channel
@PhilBoswell2 жыл бұрын
I want a pen plotter that doesn't cost an arm or a leg, is that even possible nowadays? We used to have an HP plotter (I want to say something like 7475?) but I don't know where that went and I'll bet USB won't touch it :-(
@OMGitsjesusproof2 жыл бұрын
It's weird seeing dennis reynolds talk about interesting mathematics, but i'm into it
@1.41422 жыл бұрын
What if you used the golden angle?
@luppa792 жыл бұрын
Must be a high quality pen on that plotter!
@MelindaGreen2 жыл бұрын
The big triangles don't contain exact copies of the smaller ones. They are slightly different in the corners where they attach to other copies.
@Frownlandia2 жыл бұрын
Is there a way to construct a fractal Euler-spiral-of-Euler-spirals and derive a theta value from that?
@minkuspower2 жыл бұрын
man i love Turtle! so great to see it used like this :D
@MariusSc2 жыл бұрын
That’s cool! Going to try this out myself :)
@yashrawat94092 жыл бұрын
Is that a V7 pilot pen ? Where is the part 2 coming by the way :)?
@SatisfyingWhirlpools2 жыл бұрын
is there an angle that makes a spiral, then a spiral of spirals, then a spiral of spirals of spirals, then a spiral of spirals of spirals of spirals, etc...?
@supergsx2 жыл бұрын
These Euler spirals appear in the partial sums of the Riemann Zeta Function.
@naathcousins46582 жыл бұрын
When I was young we had a turtle robot that drew on paper on the floor, it was cool
@talideon2 жыл бұрын
Another fun thing about the Sierpinski gasket is that it's related to the exclusive-OR operation.
@ZeDlinG672 жыл бұрын
I had the fortune to learn Comenius Logo in elementary school, now I'm a lead developer.
@scottmuck2 жыл бұрын
You’ve created some very valuable brown paper, if they’re for sale!
@coreyburton82 жыл бұрын
thanks so much that was great
@ambrosethomson7502 жыл бұрын
"A can of hyperbolic parabaloids." Amazing
@juanluisclaure64852 жыл бұрын
Gracias por tanto. Saludos from Bo
@wyboo20199 ай бұрын
im really curious about how you could derive the continuous version of the euler spiral from this discrete version. for example, turning 1 degree every 1 unit moved, we could find some recurrence relation (difference equation hopefully?) describing this, and then look at how that relation changes for turning 0.5 degrees every 0.5 units moved, turning 0.25 degrees every 0.25 units moved. i may do this later