Coding Challenge 183: Paper Marbling Algorithm

preview_player
Показать описание


References:

Videos:

Related Coding Challenges:

Timestamps:
0:00 Introduction
1:47 Mathematical Marbling
2:16 Explain approach
3:20 Start Coding
4:20 Dropping paint
7:03 Add the circle vertices using polar coordinates
10:57 Add a marble function
13:24 Refine the algorithm
16:45 Add a tine function
19:46 Circle detail
24:50 Generalize the tine function
29:43 Possible variations
31:45 Outro

Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound

#mathematicalmarbling #fluidsimulation #p5js #javascript
Рекомендации по теме
Комментарии
Автор

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" 😅

samuelgunter
Автор

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. 😢

djtomoy
Автор

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

justinfahland
Автор

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

LeRouxBel
Автор

This still is the best channel about programming ever. You gotta love Dan ❤

motbus
Автор

This video is a great example for why single-letter variable names are a bad idea.

lbgstzockt
Автор

Hands down, you're the best coding channel!

jaydeep-p
Автор

This has got to be the coolest coding train videos yet!! Awesome Dan!

RicoGalassi
Автор

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.

Apchenail
Автор

Back on the scene with ordinary old school challenges ! 💪

realcygnus
Автор

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

pompus
Автор

Whilst watching the coding train,
thought he was coding a game.
His maths was sound,
the topic profound.
He taught me something again.

hyhecqd
Автор

That historical artistic context at the start is gold. Great video!

jasonoconner
Автор

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

vavassor
Автор

You gotta love the new editing style with distinctive intros and all of that fancy stuff

HeadmostCantaloupe
Автор

This is so genuis and showcases how much P5 can accomplish, combined w math!

tunaroll
Автор

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.

MauroGrizia
Автор

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

aniketmehendale
Автор

Oh snap this is my first coding train video that I'm catching on release day, HI DAN THANK YOU FOR BEING AWESOME

theminivann
Автор

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 🙏🙏

tsarprince