If math teachers taught like you and did coding, the words "when would i ever use this in the real world" would be a bit meaningless. I love your videos.
@davidmitchell2761
4 жыл бұрын
EXACTLY.
@theman7050
2 жыл бұрын
Ikr
@robertobreve8623
5 жыл бұрын
I've been coding for more than 15 years, I got burned out, with these tutorials, I'm falling in love again with coding again, just like the old days. Thank you so much!
@thecosmicwhale
7 жыл бұрын
You make learning programming so entertaining Dan, you ROCK!!!
@dickheadrecs
7 жыл бұрын
I would love to see a processing sketch that graphs Dan's heartbeat when he's doing these challenges
@Shenanigans07
5 жыл бұрын
This looks absolutely amazing using Unity's Line Renderer. I've had many teachers, none of them come close to you. You're an absolute gem.
@TheCodingTrain
5 жыл бұрын
Nice work! You can submit a link to the coding train website if you like! github.com/CodingTrain/website/wiki/Community-Contributions-Guide There's also this video tutorial: kzitem.info/news/bejne/x6F_2GSfp6GCao4.
@taylorbaratka6883
6 жыл бұрын
add "rotateY((hue/255)/360);" at line 44 or 45 right after "hue +=1;" and the curve will auto-rotate.
@TheCodingTrain
6 жыл бұрын
nice tip!
@digitalArtform
8 жыл бұрын
"Send me your coding challenges!" I would like to learn more about reaction-diffusion or navier-stokes in a Processing context. Since you're asking. :D Great series. As usual.
@TheCodingTrain
8 жыл бұрын
+digitalArtform Added to my list!
@astropgn
6 жыл бұрын
I learn so much with you! God damn. At first I thought this was kind of a kid channel. Because his theme is unicorns and rainbows. But I was wrong. It does have a more friendly theme, which only adds to the channel, but the content is very solid. I like it very much!
@blomblorpf
7 жыл бұрын
I know absolutely nothing about coding. To be honest, I don't know the first rule of it. It has always been my dream, coding games for entertainment and programs to simplify things. I have I.T. as a subject next year, hoping it could give me some insight on coding, even if it's a minimum. I have a book full of ideas for games I want create, sadly, I can't just jump into it without any knowledge. I watch your videos, because I like the feeling of knowing that I will be able to do this one day if I work hard enough, and I love how code looks and feels. It amazes me. Thank you Daniel.
@satibel
7 жыл бұрын
you can try scratch ( scratch.mit.edu/ ) it's a program to make games easily and visually. It can help you get the idea of how programming works (basically you have blocks that interact together). example of how java works: int myvar; myvar=0; means myvar is an integer=0 String mystr; mystr="hello"; means myvar is a String="" functions work the same, but have parmeters int myfct(String myvar){ //some code return 0; } basically when making something you have [type] [name] [() or nothing] [{ } or ;] if you get these patterns (which are literal blocks in scratch, not words, programming is easy.
@blomblorpf
7 жыл бұрын
manaquri Thank you so much for your help. I think I know what I'll be doing for the rest of today... Thanks!! :D
@RitobanRoyChowdhury
7 жыл бұрын
I think you should look into the unity game engine (unity3d.com). It has some amazing tutorials on its site, as well as amazing youtube channels like Brackeys and quill18creates (as well as the related channels on their respective youtube pages) which should let you learn reasonably quickly. It uses C#, which could be a jump from scratches block-based programming, but it becomes easier and much more flexible than blocks quickly.
@satibel
7 жыл бұрын
Ritoban Roy Chowdhury thought I had put down some rambling about what to use as a "real" programming language, and I included unity, but it seems either ! didn't send it, or it was deleted, or it was somewhere else. though I approve unity (and c sharp) basically most current languages feel like csharp "but without" and/or "but with", so once you get that most mainstream languages will seem easy.
@RitobanRoyChowdhury
7 жыл бұрын
Exactly. If you can understand a language like C# or Java, it should be easy to switch to another language.
@AshNapToys
7 жыл бұрын
Your videos are great! Have you thought about doing a video on potential path planning? It's quite simple and lots of fun to play with.
@jothe3inv
7 жыл бұрын
Thank you so much for this. Love your enthusiasm, energy, and of course the clarity with which you explained all of this. I am having to study attractors in general and this one in particular for a dynamical systems class I am taking, and so far I was just seeing boring static pictures and graphs along with the theory. Creating and watching a live animation literally just made the subject come alive for me, haha... again thanks, this was great.
@TheCodingTrain
7 жыл бұрын
Thank you!
@JohnDoe-ki6fm
5 жыл бұрын
That's pretty awesome. It is a testament to the success of the Processing environment, but also a triumph in terms of a tutorial for the Lorenz attractor and being able to explain what it is and get an interesting visualization of it on the screen without a lot of pain. Great job, Daniel!
@revimfadli4666
4 жыл бұрын
It's such a good environment that it's quite a shame the name's not so search engine optimized(for troubleshooting, at least)
@druidofpies
Жыл бұрын
I had to take a differential equations math course in college. A whole semester, and I was never really told what a differential equation was or when it was used. In 1.5 minutes you told me what my professor couldn't in 5 months. Truly amazing sir
@mikeandrewfernandez9797
Жыл бұрын
I love the way of him teaching so passionately. Full of energy!
@adrianojordao4634
3 жыл бұрын
I made this exercise with 16 at 1994, it was an huge success in class. Used clipper and same graphical new clipper library that I got don’t know were, I think it had some mouse capability too. But then Delphi appears... This blog really captures the joy of programming that many times comes from this small projects. Continue the good work. The number of videos is impressive and already a very good library and an amazing starting point. Potencial value is huge.
@satyman08
4 жыл бұрын
This gives me a crazy new perception of the universe. Maybe were just in a 3D simulation, and the Big Bang was just God finishing his processing sketch and clicking run. 🤯
@Timisenman
4 жыл бұрын
I'm reading James Gleick's Chaos right now, and I became a bit spellbound by the Strange Attractor, and I've recently started learning about Processing and playing with it, so I googled "Lorenz Strange Attractor Processing" and the miracle of this video came up. Thank you so much for making it. A true dream come true.
@madhavsirohi2225
3 жыл бұрын
One of the best/most lovely Teacher/elder brother on the internet!
@prestonchen2046
6 жыл бұрын
You are flipping dope! Like the Bob Ross of codified art.
@kronosuber9849
4 жыл бұрын
Never thought someone could make differential equations entertaining. You have done it.
@BobIrving2
5 жыл бұрын
Crazy cool! I learned so much that I never got to in math in high school: Lorenz attractors, differential equations, etc. Some people don't like Dan's approach and his quirkiness, but it all works great for me!
@meridel9635
7 жыл бұрын
That is great. Learning how to implement mathematics in code, and learning more advanced programming techniques in one video. Thanks Daniel, it's fantastic as always :).
@TheCodingTrain
7 жыл бұрын
Thanks so much, I'm so glad to hear!
@ashmitabhattacharyya6612
3 жыл бұрын
Beautiful tutorial! I'm a High School Student with a keen interest in coding and computer science and this tutorial has been tremendously useful in teaching me how to generate the Lorenz Attractor by myself for a project :) Thank you!!
@favc097
5 жыл бұрын
Thanks to you and Unreal Engine I finally understood how to use "ifs" hahaha I'm learning by my own, please don't be rude
@jaysonbalatong4075
4 жыл бұрын
You make programming so entertaining, I hope my professors too😢. Keep making videos Mr. Dan and spread that attitude of yours.
@tobiasgorgen7592
4 жыл бұрын
This video inspired me to implement a Lorenz attractor in my arduiono and a RGB Led. Where x = red Y = green Z = blue It was very underwhelming.
@iamsushi1056
2 жыл бұрын
Do it for a full screenspace image shader! You could even have another image be the input for the variables used to calculate the derivatives
@klokibril
7 жыл бұрын
Okay it might have taken me around 30 minutes but i made a functioning Lorenz Attractor! It works beautifully. Great videoseries. I guess the best way to learn programming is to first watch thenewboston's videos, and when you completely understand what you're doing you can proceed to these. Awesome life.
@mahyarazad
4 жыл бұрын
You are the most inspiring person 🙌🏽 when it comes to coding. Thank you for your great videos.
@13Uzamakifan
7 жыл бұрын
I've recently found out about your channel. It is amazing. Your videos are the only +10 min videos I can sit through and watch completely. You're both entertaining and informative. The whole range of things you're doing in these videos have convinced me to pick up computer science as my dual major!!
@MrThangHam
6 жыл бұрын
Wow, I just created a vm for macOS to make my project with xCode after hours of installations and settings. Now it's 4:45 am and I suddenly watch programming challenge on youtube... Pressed the subscribe button
@TheGreatAbstracto
8 жыл бұрын
Really enjoying this series - One crit - butterflies flapping their wings anywhere don't cause eruptions - storms or droughts - yes - eruptions - nahhhh
@TheGreatAbstracto
8 жыл бұрын
yep - it was late /early
@kikones34
7 жыл бұрын
Ever heard about other punctuation marks besides the dash :D?
@mraagh8779
6 жыл бұрын
dashes - they are cool -
@electriic2540
7 жыл бұрын
This channel is the most underrated thing. Thank you so much for these videos!
@Amrhossam96
7 жыл бұрын
I was learning java and android development but after seeing your challenges i decided to tackle with web development a little but and i found in very interesting .. You're an inspiration and you make learning so much fun
@DannyHudetz
7 жыл бұрын
These are so great. I'm glad i found them. they have taught me so much and deserve a lot more views.
@AzuriumOfficial
7 жыл бұрын
Thanks Daniel, I finally got the differential essence! Haha, I didn't expect that to happen in a coding challenge. Good job!
@eduardvolochitin432
5 жыл бұрын
Best tutorial and coding KZitemr.
@saltyyolk9934
5 жыл бұрын
This is amazing. I'm starting to get attracted to differential integration. Thank you.
@whimsy5623
3 жыл бұрын
Dude this is such a cool technique.
@aj1sharma
7 жыл бұрын
you are just awesome. you encourage me take on new challenges and finish them as fast as possible.
@user-ig6sc7sg8x
8 жыл бұрын
I really like, this kind of live coding. I can see you each time add a piecec of code and how the new added code make a new effect to the whole program and show it as a graphic .
@TheCodingTrain
8 жыл бұрын
+Tube You Thanks for the feedback!
@anon5597
8 жыл бұрын
You are so much better than the University of Sydney, I appreciate all the help you've given me!!
@TheCodingTrain
8 жыл бұрын
+Lumena Projections Thanks for the kind feedback!
@abominavelhomemdasbets5889
7 жыл бұрын
Man you are very very good, thanks to this presentation I managed to finally get some great info on Lorenz's atractor and finish my school work. Thank you!!
@robertsolomon3328
8 жыл бұрын
Hello!! Just wanted you to know that you are really helping people with this channel. I am a physics student and I've been trying to learn programming for a while but didn't reallly feel something to ...... get me hyped for it, you know? That is, until i found your nature of code book on the web and it's awesome. Even more so, you got those vids with really interesting stuff and awesome explanations - really good way of teaching and talking to people to make them understand! So, what I wanted to say, thanks so much for everything you are doing!!!!
@TheCodingTrain
8 жыл бұрын
Thank you I am so glad to hear!
@zerocoll20
5 жыл бұрын
Nonlinear is not related to "small change in initial conditions leads to big changes in whole solution", it is related with stability. But, in the overall it's a great video, when i have time i will learn this. I simply loved it, if i could make a sugestion, theres anyway to access an "app" written in "processing" via QR code in cellphone? If it is a way, it will be very great advantage in physics and math classes.
@boutalbimedchaker2534
3 жыл бұрын
I love you Daniel so much u saved my PhD with ur courses, 100 of Daniel in this world then we r all okay lol
@arjunarya2658
4 жыл бұрын
This is so useful!! I taught myself javascript and java mainly with these videos
@sedaturec9233
4 жыл бұрын
why the hell did 48 people dislike this video, dude this guy is a genius and a great teacher... creepy 48 people
@samlau7948
8 жыл бұрын
Youre really cool, keep up the awesome work!
@321123580
7 жыл бұрын
I know it is emotional but you are super exciting! Thank you for making learning to code so fun!
@penguin1212
6 жыл бұрын
This is so neat. Thanks a ton for making these vids!
@Aprameyo
7 жыл бұрын
Best videos ever! Love watching these.
@touisbetterthanpi
7 жыл бұрын
i haven't gone through every comment to see if this has been suggested, but my immedate reaction as to how i would color it would be based on the distance the vertexes are from each other. I guess that gets a little meta too, 'cuz then you are looking at the rate it is changing at, or in other words, it dirivative, and you are already doing things with dirivitives. anyways, this was a great vid.
@tusharmaurya1668
7 жыл бұрын
Wow he does it in exactly 5 min and 22 sec. Look at the timer at the end of the video!
@shamuratov
5 жыл бұрын
Thanks for doing what you're doing in the way you're doing it :)
@abrahamjacob8876
6 жыл бұрын
Amazing work ! Please dont stop doing this! you are an inspiration!!
@pa.l.2499
4 жыл бұрын
Double is just like a float, but only more decimals... Great to know that the float is sufficient for such things. By the way: you're not '[merely] some person, here on the internet, programming colors and things on the screen,' you are a gifted instructor of mathematics and coding and have revived my interest in this subject. It takes away the daunting air associated with programming differentials and displaying such concepts on the screen through the expansive processing library... Even in 3d! Wow, I didn't know how powerful the existing java libraries were within processing. The possibilities are endless... Any chance of you showing us how to program a binomial expansion or Lorentz Transformation using these tools? Thank you!!
@somthings_wrong_here_now_maybe
7 жыл бұрын
On my next day off I'll have to mess around with this :D Seems awesome
@irvingrodriguez484
7 жыл бұрын
I don't know why I'm watching all your videos, I don't understand a word of what you're talking about and I'm only a med student, but these videos are so interesting.
@zakkia6784
7 жыл бұрын
I just witnessed the new "old spice" advert before this and I can't stop laughing
@kunaldas1736
4 жыл бұрын
This guy is a genius...
@glabrouswashere8078
2 жыл бұрын
“These systems can go off to infinity” or words to that effect. No. The Lorenz attractor is called an attractor because it attracts, and it turns out all initial conditions produce solutions tending to it. However, if you implement an approximate solution using Euler’s method, you need to worry about the linear stability of the method. Nothing to do with the non-linearity of the problem.
@TheCodingTrain
2 жыл бұрын
Ah, very important feedback, thank you for the correction / clarification!
@ffggddss
4 жыл бұрын
In your introduction, ≈ 2 min - Great idea to illustrate a real-world use of (ordinary) differential equations (ODE's). Except it's the *acceleration* (2nd derivative, d²y/dt²) of the mass, not its *velocity* (1st derivative, dy/dt) that is proportional to the displacement of the mass. But the main idea you wanted to get across, still gets across, IMO. And incidentally, the ODE that governs that mass-on-a-spring system, is one of the most important (and ubiquitous!) in all of physics - it's the Simple Harmonic Oscillator (SHO) equation, and its solutions are sine waves. It's the mathematical reason for there being so many sine waves in our lives... PS. My dad was a meteorologist who develeoped much of the early NWP (numerical weather prediction) computer models; and he once mentioned Ed Lorenz and his findings regarding chaos. Ultimately, this is why, no matter how powerful computers become, no matter how precise and how dense the observations going into the model are, there is some time range beyond which weather forecasting will always be impossible. And that's just one area of physics that's affected by chaotic behavior; there are scads of others. So this is a very important topic. Plus, you can make all these pretty pictures ;-) Fred
@SogMosee
6 жыл бұрын
Daniel Shiffman, Saraj Raval, and Sentdex, you guys are my heroes. Am I missing anyone else guys?
@EidurMoller
6 жыл бұрын
You are like the coding Mister Rogers. Great videos.
@Dracstar
7 жыл бұрын
That is simply amazing!
@QQSwam
7 жыл бұрын
Finished finals, now I can play with processing :)
@cn-ml
7 жыл бұрын
"Nothing is broken yet" - Every programmers' remorse
@PsychedelicMindFluid
7 жыл бұрын
Loving these videos!
@furrane
8 жыл бұрын
Smooth edit :) As always it's a pleasure to watch your videos. I both learn code technics and some interesting physic bits. Enjoy Shanghai and come back stronger than ever haha
@TheCodingTrain
8 жыл бұрын
+Furrane Thanks so much!
@noahgundotra1062
8 жыл бұрын
These are really cool videos! Thanks for sharing. Could you do videos illustrating more complex physics phenomena? Maybe a double pendulum video or one with Lagrangian motion?
@TheCodingTrain
8 жыл бұрын
I've got this on my list! github.com/CodingRainbow/Rainbow-Topics/issues/15
@danielsoderstrom1930
8 жыл бұрын
Nice done! But my friend programmed a lorenz attractor too. So I'm familiar
@computerwiz38
7 жыл бұрын
Very awesome video! You are very talented! Keep up the good work!
@younusameenmuhammed3860
2 жыл бұрын
very useful and easy understanding, thanks
@sirhallstein1336
7 жыл бұрын
8:30 Actually, you wouldn't have to have the lines too fine if you were to draw a Beizer Curve between all the points. While, this would obviously be more difficult, it could save processing time.
@souravdey1227
3 жыл бұрын
You are a wizard.
@iamsushi1056
2 жыл бұрын
I’m considering trying this as a glsl shader that takes an image/video input, and then each pixel’s RGB value gets mapped as the inputs for that pixel’s Lorenz attractor as like this crazy stochastic glitch art camera filter
During the technical glitch you must had added additional code to allow for you to rotate and zoom in 3D, as I couldn't get my code to rotate and zoom in 3D.
@WakeEternal
5 жыл бұрын
I tried clicking on your Source Code in the video notes and the Github link is broken. Please update :D. Thank you.
@WakeEternal
5 жыл бұрын
Okay, figured it out, noticed as you were scrolling through that you had a line referencing PeasyCam. A quick search led to mrfeinberg.com/peasycam/ which shows how to set up the interactive camera.
@TheCodingTrain
5 жыл бұрын
fixed the link!
@jay290489
4 жыл бұрын
You are a genius...
@milkyroad9593
6 жыл бұрын
I have to say: Awesome Dan!
@shikhargupta3928
4 жыл бұрын
add - vertex(v.y,v.z,v.x); vertex(v.z,v.x,v.y); below the first vertex, will draw somthing really amazing.
@projectg3756
5 жыл бұрын
Dear, it's a good very good tutorial. But I can't move around the object by using the mouse, how you can zoom and move around the shape by using the mouse?
@TheCodingTrain
5 жыл бұрын
This is due to the PeasyCam Library mrfeinberg.com/peasycam/
@hamishfox
4 жыл бұрын
(heh I new it wouldnt be long before you we're making vods about me ...) omg I get this all the time! ITS SPELT LAWERENCE ..so frustrating...
@cassandradawn780
4 жыл бұрын
He protecc He atttacc But mostly importantly He *a t r a c c*
@xylonbeta4517
6 жыл бұрын
To anyone that is going to implement this without development time constraints: *DO NOT USE FORWARD EULER* (x = x + dx). That integrator is literally the worst, and errors will stack up fast. You can use bigger timesteps if you use better numeric integrators, such as leapfrog (which is easy to implement and has good properties like energy conservation). If you are using a physics engine, trust it to do the integration for you (it should have some form of runge-kutta or leapfrog implemented) by using physical vectors and bodies inside the engine.
@TheCodingTrain
6 жыл бұрын
Thanks for the tip!
@brandonallen2301
3 жыл бұрын
This is so informative! Thank you!
@TomLeg
2 ай бұрын
Butterfly wing might cause a storm, at least in theory, but that's not the sort of thing that causes a volcano eruption.
@oldrocker3438
5 жыл бұрын
Thank you. Wonderful lesson!
@frown5664
7 жыл бұрын
I've got no idea what he's saying but I love listening to this.
@itsvollx9684
5 жыл бұрын
How do you code magnetism and attract an object(example a cube) to a player object(example a cube)?
@imadsaddik
Жыл бұрын
Thanks this was great!
@bighugejake
7 жыл бұрын
instead of thinking of the lorenz function's (and the butterfly effect's) inputs as affecting "the other side of the world" for its wildly different outputs, think of it as affecting "the world 10,000 years from now". you're changing in relation to time, not another distance.
@moforogue
4 жыл бұрын
i love you. thanks for everything.
@morwar_
7 жыл бұрын
this video is so fucking amazing, great work!
@skipps70s14
7 жыл бұрын
Wow he looks like Harry Potter ... YOU'RE A CODER HARRY
@TraZix
6 жыл бұрын
You're an electrician, Harry. I'M A WATT?
@VaradMahashabde
6 жыл бұрын
Wrong, He is Harry Code
@okie9025
5 жыл бұрын
He really doesn't
@mirodilsultanov4623
5 жыл бұрын
Harry Coder
@davislast7891
7 жыл бұрын
Don't you just love how us nerds spend our time on visualizing random formulae?
@abhijanwasti7991
7 жыл бұрын
You the real MVP fam 😂
@MaceOjala
8 жыл бұрын
That solution to change from just drawing points to a screen wipe, adding a vertex to the ArrayList and then drawing them on each draw() creeps towards larger and larger complexity, as the ArrayList slowly but steadily grows forever. I introduced a conditional remove(0) to cull it to a fixed size What was your idea to introduce the ArrayList of voxels and the screen wipe? To allow mouse interaction, or simply principle of object orientation?
@TheCodingTrain
8 жыл бұрын
+Mace Ojala Mostly to allow greater flexibility in how the design in drawn (animating colors, mouse interaction, etc.) I agree that a cap on size and remove() is an excellent and necessary addition.
@MaceOjala
8 жыл бұрын
Alright, thanks for clarifying. Makes sense. That change from points to an ArrayList of objects to me is an important example in a way of thinking about the program: from "I am painting on a canvas" to "I am simulating a system". Thanks
Пікірлер: 434