As an engineering nerd and professional programmer (and fellow youtuber) this sort of stuff really gets me going! Awesome job as always Dan :)
@Robber7
5 жыл бұрын
Wow.. This blows me away more than the fact that man went to space and are living there. It just blows my mind so much, just a bunch of circles rotating drawing such things? So damn awesome!
@dielfonelletab8711
5 жыл бұрын
Would be super neat to turn an image into a Fourier series. Maybe edge detection then vertex detection some kind of travelling salesman algorithm to find a path along those edges to get the points. That'd be pretty dope.
@Diegomarvid
5 жыл бұрын
the problem is that the function has to be continous so its very hard for an image to get that right. A face isnt contious for example.
@aramp
5 жыл бұрын
@@Diegomarvid I don't think it does
@flamingpheonix5231
4 жыл бұрын
3blue1brown used an svg
@Matt23488
5 жыл бұрын
I watched Mathologer's video about the Homer Simpson drawing, and his explanation of the Fourier Transform and the math behind it all. However, I never knew how EASY it actually is to do... Thanks for the videos!
@priyankamalviya3613
5 жыл бұрын
You make every topic appear so simple! You are not just very knowledgeable, but an excellent teacher. Thank you so much for creating videos.I am trying to understand topics related to concurrency and wanted to request you to please consider making videos for the following problems: i) Execute at most N tasks in parallel using JS promises or generators ii) Implement an asynchronous concurrent priority queue iii) Write your own version of V8’s event queue
@omargaber3122
Жыл бұрын
Thank you very much, I really appreciate the effort you put into this video You are a genius teacher
@FishFart9000
5 жыл бұрын
Your videos are amazing and hilarious, thanks for all of your hard work in making these!
@DrSpooglemon
2 жыл бұрын
I absolutely love this channel. Daniel is a great teacher and an awesome person.
@svensbasteltisch
4 жыл бұрын
I like your videos, you are an amazing tutor! But I found two things I did not understand: fourier.js, Line 30: k needs to be started at -N/2 running to N/2. if it runs from 0 to N you only have positive frequencies and your drawing machine does not hit the shape. After two hours examinating my calculations I changed the k-loop as mentioned and bamm! I hit my shape. Awesome!
@cleisonarmandomanriqueagui9176
2 жыл бұрын
I am astonished ... amazing content one can learn thanks to your time and effort !!! thankssss
@jenner247450
5 жыл бұрын
i tried that code but, instead to sort by amps, sorted by frequencies, lower first, also begin from part of frequencies (from lower parts beginning); with increase count of wheels, when T is bigger than TWO_PI, just T decrease by TWO_PI, and don't clear previous path, instead to cut end, (you do it on earlier videos). Sorry for complex phrases ))) English is not my native. Result - I have a total mess in beginning, and it gradually draw a something, tried to reach a exact result of Coding Train ))). Very interesting result in live motion.
@firephoenix5556
5 жыл бұрын
I came too late in the stream to get most of this. Time to watch now!
@SimonTiger
4 жыл бұрын
Oh, by the way, this is the reason the circles were all "lined up" previously. As I said already, a real number is just a complex number with no imaginary component. So basically, the circles were drawing a 1-dimensional pencil sketch! An easy way to "fix" this is just to remove every other circle. It'll look more realistic. Or you can do the fourier transform with complex number input like Daniel did in this video!
@cknox64
2 жыл бұрын
I propose in epicycles() to subtract rotation instead of add. x += radius * cos(freq * time + phase - rotation); y += radius * sin(freq * time + phase - rotation); Then the rotation will be correct. For instance: let v = epicycles(width / 2, height / 2, 45, fourierX);
@aramavlad-alican9959
5 жыл бұрын
Please make some C++ tutorials. Btw,you're the best coding "teacher" (if i can say so)that i know
@martingregson7136
11 ай бұрын
Outstanding!
@ihumbleyou
5 жыл бұрын
thanks for helping me out bro! This helped me so much i kind of understand coding now !LOL!
@avi12
5 жыл бұрын
14:16 Dan the Dancer
@toadfrommariokart64
3 жыл бұрын
underrated comment, underrated song
@Pawan.1359
5 жыл бұрын
Keeps us motivating Sir, awesome coding challenge...
@chessdude67
5 жыл бұрын
Hello, new subscriber from Mike's channel. I always wanted to try coding. Here I go... :) Thumbs up on your channel!!
@TheCodingTrain
5 жыл бұрын
Yay! This is probably the best playlist for getting started? kzitem.info/news/bejne/2oaN0YSFn6B4pqw
@chessdude67
5 жыл бұрын
@@TheCodingTrain Thank you! :)
@DJDropeGaming
5 жыл бұрын
Would be cool to see the matching cubes algorithm done in processing.
Love these, you should try to do a program to predict a sequence given an array of numbers that follow a certain sequence, I was learning ab sequences in math and thought it would be cool to see but it seems hard to implement and there's not too many good videos on it
@jackw9010
5 жыл бұрын
polynomial interpolation
@aljazmedic375
5 жыл бұрын
Great episode 🙂 Now I have to go implement it by myself 😁 Keep up the good work 👍
@djcarroll4080
5 жыл бұрын
Very cool video! I'm quickly becoming obsessed with your channel. :) Just a heads up, we use the term "double distribute" now instead of foil. This is because foil only applies to the case of multiplying a binomial by another binomial and implies you're using a "trick", but you can always distribute, double distribute, triple distribute and so on and so forth and it is mathematically sound and flexible.
Wow. I wasn't getting the point of this effort until it started working... Wow
@realcygnus
5 жыл бұрын
Grand Slam Dan thE Man ! best yet imo Soooooo Cool
@gerryiles3925
5 жыл бұрын
The output array of the dft function doesn't have to be the same size as the input array. The number of output values you return determines how accurately it will follow the data...
@justanothergirl__
5 жыл бұрын
@@chien-hsunlai2734 Just iterate `k` from 0 to some value greater than `N`. Each `X[k]` sums over each data point, and represents a particular frequency. Increasing the number that `k` can iterate to will increase the number of frequencies you find that are present in the data signal.
@afonsocrg
5 жыл бұрын
Hey! Really loved this challenge! Maybe doing this with FFT would be nice too
@iAzazelHD
2 ай бұрын
I am too late but 5:20 i^2 = -1 is not the solution to anything, but the definition of the number i. i is the solution to the equation x^2+1=0.
@MissSamso
5 жыл бұрын
I’ve watched you GA series and I do have an app that uses GA as part of my master’s dissertation, I have the fitness function and all problem variables but need help in organizing my thoughts. How to reach you ?
@grego_bc
2 жыл бұрын
I liked the tutorial a lot, and I have a few questions (because Im not very familiar with js). 1st - I have a very small path with no more than 10 points and the drawing its going crazy fast.. ¿Is there a way to slow down the simulation to see whats happening? 2nd - ¿Is there a way to control how many epicicles make the drawing? Thanks for this quality of content!
@meghanabaliga5378
3 жыл бұрын
An algorithm for the Machine Calculation of Complex Fourier Series? Could you help me with this?
@riotingrogue331
5 жыл бұрын
Wow!
@harshaaddanki4606
3 жыл бұрын
you should teach p5 on kahn academy and replace the ProcessingJS
@leoknoll5428
3 жыл бұрын
Would you mind applying this to the partial differential equation for heat distribution? I would love to see you feed your algorithm with a set of temperatures and have the temperature-graph visualised with respect to location x and time t (as a plane or as changing colours) Regards from germany :D
@narveeviolet
5 жыл бұрын
For your information. This part never worked for me. I tried best to imitate your code on the screen but never worked. it agonized me for 3 days to find out what causing this. I definitely don't spend entire day with coding though. I tried adding arbitrary value to phase but my code insisted drawing strange curves or ellipses, not even close to original picture. I watched again mahologer and goldplated goof channel. and I found my code and your code too has k value ranged 0 to N-1. their k was like ..-2,-1,0,1,2.. . so i changed it to iterate k = -2/N to 2/N. and it works very well now. I did not changed other part of code. I still don't understand how this is going on mathmatically but if anyone suffering similar symptom, try these minus k range. thank you.
@madison4530
5 жыл бұрын
You solved my problem. I don't know how he got his to work with all positive frequencies. THANK YOU
@TheAbou1997
5 жыл бұрын
nice video i really like it
@tahaabujrad7806
4 жыл бұрын
hello Dan, first i want to say that this work is really awesome, second is do you know any code editor that works as p5.js but for writing in c++ not javascript.
@Speeskees
5 жыл бұрын
I'm just wondering if there is a thing like '3D Fourier Transform'. Just what you have now, but with a Z-axis
@XBlackFlagX
5 жыл бұрын
Look up "Quaternions". Basically extends complex numbers into arbitrary number of dimensions by saying "what if there were multiple roots of -1?" named i, j, k, etc... where i^2 = j^2 = k^2 = -1. I expect there is a generalization of the Fourier Transform in that space
@vornamenachname5267
5 жыл бұрын
@@XBlackFlagX That would be a 4-dimensional fourier transform, but I guess you can just set the fourth coordinate to zero.
@XBlackFlagX
5 жыл бұрын
True. There isn't a 3d version because the concept extends only in dimensions that are powers of 2 (though as you said, you can just set the one coordinate to always be 0).
@AKASHMANDAL2386
2 жыл бұрын
how to find the length and angular frequency of each epicycle?
@chefflambo2868
Жыл бұрын
Thank you so much for the video. Btw, does anyone know if there is a way to make the program draw svg files? Thanks in advance
@melroydsouza6547
3 жыл бұрын
6.An algorithm for the Machine Calculation of Complex Fourier Series Please help us debugging program Theoretically proof
@JazzToTheTwo
3 жыл бұрын
Is there any way to make the path it traces a different colour? I'm very new to coding and i figured how to make the like it traces AND the radius lines of the circles change colour, but i'm not sure how to make only the traced line a different colour.
@kasperskyroman
5 жыл бұрын
wow great mathematics
@Taras195
5 жыл бұрын
Woah
@ILYA1991RUS_Socratus
Ай бұрын
Паровозик)
@re5o28
4 жыл бұрын
Do you have this code for Python? I have a list of coordinates I need Python to draw out like this. Additionally, how would I be able to do this in 3D?
@re5o28
3 жыл бұрын
I need this written in python!
@kumaramresh7905
5 жыл бұрын
Hi sir it would be a great help if you do breaking glass effect and fluid Dynamics ......thankyou
@darkfrei2
3 жыл бұрын
Where is the best part: how to make freeline drawing as fourier line?
@raghavkamath
5 жыл бұрын
Sir what are our thoughts on Mike Boyd's video?In which he mentioned you,I am subscribed to both of you from a long time and you guys are one of the best content creators in the world.
@TheCodingTrain
5 жыл бұрын
I haven't seen it! (Looking now)
@TheCodingTrain
5 жыл бұрын
Ok, just watched it, so fun to see! It would be fun to try to make that game as a coding challenge here. Thanks for pointing out the channel, I'm now subscribed!
@raghavkamath
5 жыл бұрын
Awesome!
@toastyPredicament
2 жыл бұрын
Okay if you don't want me.
@mcdazzzled
5 жыл бұрын
Can you give a video about how you set up everything?
@TheCodingTrain
5 жыл бұрын
I really need to do this!
@ebicer
5 жыл бұрын
Hey just curious, why did you swap to VSCode from Atom?
@abazur7742
5 жыл бұрын
hi dan! i have proposition for next coding challange : 2048 game in p5.js
@TheCodingTrain
5 жыл бұрын
Indeed! kzitem.info/news/bejne/q4mkk3iAjmqimWU
@teinili
5 жыл бұрын
I never understand why you can just leave out the i :(
@limi4966
5 жыл бұрын
Because I don't care. #BADJOKES
@beogradjankaxxx3266
5 жыл бұрын
What do you think about c++?
@toastyPredicament
2 жыл бұрын
I'm slipping into a coma...
@sanjayabudhathoki2742
5 жыл бұрын
Hey can you make a Ludo game in processing. Ludo game challenge please 🙏
@dukestt
5 жыл бұрын
Are the number of circles increasing and decreasing as the transform moves around the path?
@TheCodingTrain
5 жыл бұрын
The total stays the same the entire time!
@neha7603
5 жыл бұрын
Why I'm bad in algorithm and problem solving? :-( I love programming
@ahmedbadal3795
5 жыл бұрын
holla second one ......
@PopeBeetlejuice
5 жыл бұрын
Hey i have a question, how do you get your p5.js to show up in your browser. Thank you!
@TheCodingTrain
5 жыл бұрын
This workflow video series might help! kzitem.info/door/PLRqwX-V7Uu6Zu_uqEA6NqhLzKLACwU74X
@walkerkemp8459
5 жыл бұрын
dan looks like a college professor and I dont know if thats a good thing or not.
@firephoenix5556
5 жыл бұрын
4:10 your pointing was wrong you pointed to the outer and said last
@TheCodingTrain
5 жыл бұрын
doh 😬
@KnakuanaRka
4 жыл бұрын
The Coding Train Whoops!
@harrymack3565
5 жыл бұрын
third
@toastyPredicament
2 жыл бұрын
I'm sorryy
@anuraghazra4772
5 жыл бұрын
1m
@zulfiqarsyed7294
5 жыл бұрын
Who came here after watching smarter every -days video on this?
Пікірлер: 103