Every time I watch the intro to one of these videos it feels like you have access to a different version of the internet than me, one filled with wonder, creativity and beauty. 😢
@samuelgunter8 ай бұрын
I've been subscribed since watching the snake coding challenge back in 2016 riding home from school, and now I'm at a university, I see we're still forgetting the "this dots" 😅
@maxwellhunt37328 ай бұрын
Some things never change
@watchnarutoshippuden32288 ай бұрын
Haha I came here to comment exactly this
@AryehS19898 ай бұрын
some of the best content on YT!
@lbgstzockt84938 ай бұрын
This video is a great example for why single-letter variable names are a bad idea.
@considerthehumbleworm8 ай бұрын
You’ll never take my garbage variable names from me!
@WhateverOwO8 ай бұрын
as long as they work and you put a comment besides it it'll be fine lol
@qwerty_qwerty8 ай бұрын
@@WhateverOwO God, please do not suggest that to anyone. Ever. It's okay if it's a solo project with old code that you don't want to touch, but don't _suggest_ it to people!
@jeanlasalle23518 ай бұрын
@@WhateverOwOWhy put a comment saying what it is instead of naming it? Have fun with "int a; //smoothing factor" And adding insult to injury intellisense will be worthless when you call your function which is accepting a variable of type int named a.
@krccmsitp28848 ай бұрын
@@WhateverOwO With self-explanatory names you don't need extra comments
@justinfahland12258 ай бұрын
programming alongside you and trying to work out these challenges in python has reinvigorated my motivation for programming as a hobby again. Its really exciting recreating the things you make in your videos and I'm finally finding programming fun again, keep up the good work
@RedHair6518 ай бұрын
What's your equivalent of P5.js?
@sontapaa11jokulainen948 ай бұрын
@@RedHair651 I am not the one you originally asked, but I myself use pythons turtle library to draw this stuff. You need to implement some stuff yourself, which exists as a builtin in p5js (for example in python you need to program the main drawing loop yourself), but it is quite good still in my opinion.
@jaydeep-p8 ай бұрын
Hands down, you're the best coding channel!
@RicoGalassi8 ай бұрын
This has got to be the coolest coding train videos yet!! Awesome Dan!
@HeadmostCantaloupe8 ай бұрын
You gotta love the new editing style with distinctive intros and all of that fancy stuff
@Apchenail8 ай бұрын
First video I look at since many years (of the "purple rain coding challenge generation"). The pacing of your video is much more dynamic now, I am sure the young brains are even more attracted by it.
@MauroGrizia8 ай бұрын
I'm sometimes absolutely marveled at the amount of science that's being put into art to create this amazing patterns. I just saw a minute of this video and I already made up my mind. I'm soooo following this tutorial.
@pompus90687 ай бұрын
I am currently 8 years in the past, learning about PVectors, and I clicked on your channel to see if you're still alive. Not disappointed and looking forward to catching up. Looks like you're not as nervous in front of a camera any more haha. Maturity'll do that to ya :D Anyway just wanted to say, heartfelt thank you SO MUCH for these videos and I love you to death
@vavassor8 ай бұрын
Years ago I tried to make a fluid sim for marbling. I had a flow sim and was trying to make things more incompressible by reducing diffusion using "back and forth error correction and compensation". Which helped the ink not mix together into grey/brown as quickly. But didn't have that thick ink look. Using vector shapes looks fantastic! And the raster method is cool too. Now I wanna revisit this idea
@TheCodingTrain8 ай бұрын
I hope you do!
@aniketmehendale8 ай бұрын
i used to watch your channel when i was in college, i came across this video randomly. glad to see youre still at it, ah the nostalgia
@jasonoconner78637 ай бұрын
That historical artistic context at the start is gold. Great video!
@motbus38 ай бұрын
This still is the best channel about programming ever. You gotta love Dan ❤
@LeRouxBel4 ай бұрын
Being a really long time follower of the channel, it amazes me to see how much work is going into all of the examples after the initial (rough) drawing of the concepts in the live challenge. I bet the community had a blast helping refactor this code. I wish you all the best
@baconheadhair69382 ай бұрын
can you help me ask a girl out at my school?
@JohnHayes-z2q6 ай бұрын
Whilst watching the coding train, thought he was coding a game. His maths was sound, the topic profound. He taught me something again.
@tunaroll39578 ай бұрын
This is so genuis and showcases how much P5 can accomplish, combined w math!
@realcygnus8 ай бұрын
Back on the scene with ordinary old school challenges ! 💪
@elmeromero87618 ай бұрын
I just started studying Computer Engineering on College and it has been kinda rough, a lot of stress and there has been times that I've thought about droping out. But then I found your videos and my love for programming came back. I just wanted to say thank you for making programming seem so fun and interesting to me again!!!
@TheCodingTrain8 ай бұрын
I believe in you!
@fabiomartins12188 ай бұрын
You have no idea how many times I tried to do this, Daniel. Thank you oh-so-much!
@BarnaldoYT8 ай бұрын
Oh snap this is my first coding train video that I'm catching on release day, HI DAN THANK YOU FOR BEING AWESOME
@tsarprince5 ай бұрын
5:37 Omaigot those lovely animations, kudos to the editor 🫡, I've just fallen in love with the art of physics and maths. All thanks to you Dan 🙏🙏
@fuschia-draws4 ай бұрын
dan is the kind of guy that could make anything interesting
@purigringo8 ай бұрын
Cara, vc é fera demais. gosto muito dos seus conteudo e a sua forma alegre de compartilha.
@TheCatull8 ай бұрын
Danke!
@onkelhoy18 ай бұрын
Dan as always, thank you for your video, I love listen, watch you struggle in whatever the exciting task you take open yourself meanwhile I struggle on my own work/projects etc
@esphix8 ай бұрын
The reason for the magSq function being better to use is because it is just the dot product of a vector with itself. This is due to the magnitude being computed using the Pythagorean theorem which uses a square root, which is an expensive operation. By immediately calling the magnitude squared function you remove the need to compute the sqrt.
@forgey92118 ай бұрын
I'm here for you 😊 Another beautiful video
@clearwavepro1008 ай бұрын
Excellent explanation of the formula! Super accessible :)
@DipamSen8 ай бұрын
Very cool video!! PS: After having watched many OOP tutorials, at 2:31 i totally expected the two "properties" to be "centre" and "radius" 😅
@HansMilling8 ай бұрын
Long time follower. This reminds me so much of making graphics demos on my Amiga and later PC. It was all about creating cool effects.
@wlockuz44677 ай бұрын
The Bob Ross of coding.
@Tyneo42315 ай бұрын
nice
@BarneyCodes8 ай бұрын
Amazing video as always! This one was so much fun!
@raulAlbiyol8 ай бұрын
Why Are you so Awesome? Keeping making such videos.. Love from INDIA❤
@mrkjsmt8 ай бұрын
Thanks so much!! I'd love more of these oldskool graphics challenges, please, please!!
@tedhinklater32038 ай бұрын
I don't even code but your enthusiasm is pretty infectious and I do love the art
@artistpw7 ай бұрын
It's an absolute blast to do marbling. You just need a thickener for water and some pigments that will float. I made fabric and that's how I got on ebay to sell the fabric. I truly like to sculpt and paint.
@matcha694208 ай бұрын
yay just in time for my bus commute!
@TiferetJackson7 ай бұрын
That's amazing at first I thought it impossible yet you made it look so easy! 😮
@FayolaOnline4 ай бұрын
I may modify this to allow for colour selection and limiting the effect from a vector to just where the mouse was dragged.
@ManishFrenchStudio6 ай бұрын
An absolute triumph! 🌟🎥 This video is a triumph of content creation, seamlessly blending knowledge and entertainment. The presentation is flawless, and the visuals are nothing short of spectacular. I was entranced from the first moment and left with a deep appreciation for the subject matter. It's evident that the creators poured their creativity and expertise into this project, and the result is nothing short of exceptional. I'll be singing the praises of this video for a long time. Bravo! 👏🚀2.8k
@leonardopotenza73798 ай бұрын
u are the best Dan
@SimpleCarGuy8 ай бұрын
Can you do a tutorial on how to always be happy, enthusiastic and so positive!? Love the videos!
@ForrestLowe-ez6is8 ай бұрын
Coding Bob Ross
@farazk97297 ай бұрын
In a nod to Camus's the Fall: "Monsieur", why are most coding teachers so boring? I find myself watching 30 minutes of C# and then head straight back to your videos for some fresh air... not everything is the content, after all... the form matters, too. Thanks for being different... for not taking all of this too seriously... for being colorful in this big white world... . Cheers from the land down under,
@ethanhermsey8 ай бұрын
Ooh this is really cool! I've unsuccesfully been trying to get something like the immiscible drops, definitely trying this out :) hhmm.. tine lines from flowfields
@at-29748 ай бұрын
Could a generalized tine line still function effectively without relying on the dot product? Instead, could it exclusively use vertical tine line, achieved by rotating shapes to align the vertical tine line at the desired location, and then rotating the shapes back to their original angles?
@reid_makes_art8 ай бұрын
Great aesthetic!
@umitsn8 ай бұрын
Great example, thanks so much 🙏🏻
@jaybee25308 ай бұрын
This is fantastic, great work! This also makes me feel very dumb. 😅
@mmilerngruppe8 ай бұрын
that's really an awesome video! thank you a lot.
@limboreversible8 ай бұрын
Hi, this is amazing. Is there a version in processing code of this coding challenge ? I'm totally Stuck with the marble function:-( Thanks again Mr. Schifman for your continuous inspiration
@gutzimmumdo49108 ай бұрын
hi coding train, i saw a cool pattern and i was wondering if u could program such a thing, is called "cohomology fractals", seems quite cool of a visual but also kinda complex maybe.
@sangwookim55518 ай бұрын
Hi Daniel! I am a huge fan of your works and even made my own generative art NFTs using p5.js following your tutorials! Just wondering though, what are your thoughts on AI art, and how it may impact the value of human-made art in the coming years? Do you think the current art(including generative art) will retain its value when AI could make them just as good, if not better? :)
@stuarttierney67093 ай бұрын
What happens when P = C? You get a divide by 0 error in the marbling function.
@danielrubio27468 ай бұрын
You are the best!
@DivineIntervention-128 ай бұрын
2.5 thousand likes and 0 dislikes is incredibly uncommon XD keep it up
@jensBendig5 ай бұрын
The cool thing with Daniel Shiffman's videos is not only they motivate, I also can remember their rough idea, days or weeks later. He must be a great teacher.
@subinaypanda99368 ай бұрын
We can have a relation between the radius and the circleDetails like higher the radius, higher will be circleDetails.
@TheCodingTrain8 ай бұрын
Yes, this is a great idea!
@RandomEG12348 ай бұрын
please help, my variable will not save, and i need it to stay the same when i re run it
@limarcospap8 ай бұрын
Damn, insane video! ❤
@chichongc8 ай бұрын
Oh! I found I really like this algo~
@RajJaiswal5388 ай бұрын
Any idea how the smoother version of it would work? Should I just interpolate it from older position to newer position with time?
@TheCodingTrain8 ай бұрын
That's an interesting idea to try! I did it by adding multiple smaller blobs of the same color slowly, it's not efficient or optimal but seems to work. Maybe removing blobs that are fully enclosed would help? You can see all the example and variations on the webpage linked in the description.
@RajJaiswal5388 ай бұрын
@@TheCodingTrain thanks! Will check them
@yousifmobark69818 ай бұрын
i love this channel
@000aleph8 ай бұрын
So do we have incompressibility?
@bluegamemc14038 ай бұрын
no clue what this means but I still clicked right away
@ZerofeverOfficial8 ай бұрын
immiscible, my new favorite word
@farazk97297 ай бұрын
When the book comes out, please let us know. I think it'll be in September, right?
@TheCodingTrain7 ай бұрын
September 3rd. Check natureofcode.com for preorder info and updates!
@farazk97297 ай бұрын
@TheCodingTrain will do. Thanks, and congrats.
@pierremarcotte62998 ай бұрын
Dumb guy here... what part in the code guarantees that the area of a drop is always equal?
@CodingKoncept6 ай бұрын
Thank you Dan. Video says "New Chrome Availavle" 😁
@flashbond8 ай бұрын
That's a Turkish art called "Ebru". I guess the English phonetic will be Abrou
@SquareRootOfNegativeOne8 ай бұрын
Does the java code exist for Processing? I tried converting it myself and I can't get it to work. Probably because I don't know what I'm doing....
@SquareRootOfNegativeOne8 ай бұрын
never mind. figured it out - learned a couple things too!!
@TheCodingTrain8 ай бұрын
I haven't been keeping up with porting the examples, but you are welcome to add to github.com/CodingTrain/Coding-Challenges/
@SquareRootOfNegativeOne8 ай бұрын
@@TheCodingTrain I put up what I got but I can't help but feel like I shouldn't be the one doing it - I'm self taught and there may be errors. It would be amazing though if I could get some feedback though...
@dhairyashah31048 ай бұрын
make a video on queuing theory please
@ampleman6027 ай бұрын
Just found this channel. Wow
@HarDarkable8 ай бұрын
Long time since This dot Song!
@xotmatrix8 ай бұрын
Super interesting.
@jonlikespi32965 ай бұрын
Please note that homogeneous is five syllables. It is not the same as homogenous.
@outside83128 ай бұрын
Kinda want to try water marbling my nails again now... But it will probably end badly 😅💅
@paultapping95108 ай бұрын
that would totally work! enamel is hydrophobic, so as long as you masked your fingers off you could use hydrodipping.
@TheCodingTrain8 ай бұрын
Please share if you do!
@StayMotivate-or7rf8 ай бұрын
Hello sir you are doing great work for our community,but I have a humble request please make video on maths learning topics which are important to become AI and ml engineer with proper guidance and free learning resources and full roadmap of learning mathematics please sir ! 🙏🙏 But thanks for your hardwork😊.
@daviddawkins8 ай бұрын
I watched this at x1.25 by mistake and now I don't think I can sleep
@TheCodingTrain8 ай бұрын
if you watch it backwards at 0.75x it'll cure you
@daviddawkins8 ай бұрын
@@TheCodingTrain I forgot to add that I loved the video.
@grimm23767 ай бұрын
СУПЕР ТОПОВЫЙ КАНАЛ, жаль что я нашел этот канал только недавно. чууух чууух
@youtubeonly37706 ай бұрын
It's sad to see the p5 guy growing OLD. I am following your content from when I was in high school.
@WinterSolsticeGaming8 ай бұрын
Cool Vid
@jthawken1238 ай бұрын
Ah yes, the inside cover page of the hymnal.
@NoVIcE_Source8 ай бұрын
lovely
@zylascope8 ай бұрын
Cool!
@bobweiram63218 ай бұрын
Imagine applying this in real time to reality through Apple's Vision Pro Goggles.
@egebayraktar66208 ай бұрын
adamsın kralsın
@nguyenlevlog45868 ай бұрын
good
@geoffwagner49358 ай бұрын
holy cowsay , I actually got magSq();
@Arkādija-x9w7 ай бұрын
Teacher:3
@DanielBaumert8 ай бұрын
its nearly impossible to follow your video if you are always zooming in for now reason.
@riccvven20785 күн бұрын
why do you use javascript :( everytime i have to convert in python man; it's painful how good you are and how much horrible is java
@planktonfun18 ай бұрын
its not fluid enough
@alvarobyrne8 ай бұрын
Kwel!
@gsestream8 ай бұрын
less is more you know. one is enough. do you be lacking marbles. God be your only marble. of great worth. dont sell it to anyone. localized intersection fluid sim is not expensive. you can either do a octree space division or just 3d range sorting intersection algorithm. or just the falling sand simulation but using liquid/gas pressure local small steps simulation. just like life simulator. nothing is a problem. all pre-solved. even those that you have not solved. honor to God. not to knowledge. even if God knows everything. you say you are miscible. you said "I am miscible". who do you mix with in the pot. fluid sim is like neutral net drift training by evolutionary algorithm. it will settle in some balance after simple optimization steps. minimum (proton) sized dots self-arranging neural fluid matrix. the fluid dots approximate the whole fluid in the mass. you can also derive your own fluid pixel algorithm of other type. physical or not. well if each pixel/cell can hold only hold one fluid unit then you have the algorithm working principles. the more and smaller the simulated drop cells are, the better and heavier (gpu) the simulation is. graphically making the drops overlap makes a continuous fluid in all places necessary, using smaller area for sphere/circle drop collision. there are no other drops. you dropped your marbles. time will tell. lol only a bit insane. stay sane dr. so you make a gpu object of circle shape and push it around. hmh. deformation. not dot simulation at low scale. instead of using the deformation graphics function directly, maybe do the low level simulation yourself. also interesting. the underlying tech code I mean. seems like deformation math lib is being used heavily. oh you actually do the small drops simulation. my bad. drink drink. coffee makes depressed drops. wow dude. nice trip bro. photoshop finger tool for paint drops. maf. the paint must be a leaner. paint water foundation simulator. no sell.
@AtomicBl4538 ай бұрын
watch this at 0.25 speed, thank me later.
@SMVK7 ай бұрын
Next, make this algorithm in raster (each individual's pixels)🌚