Truly earns his title of "Bob Ross of programming".
@aram2855 жыл бұрын
his new title you just assigned to him.
@alastairlocke46215 жыл бұрын
Which I like
@KundoKun5 жыл бұрын
random = happy accidents
@amogh32754 жыл бұрын
"Blob Ross" Sorry i had to
@АндрейБогданов-о1г5 жыл бұрын
Love your channel. At first it felt to me as "obnoxious youtuber tries to teach basic programming techniques to people who never tried programming". But later you did such an amazing job with some advanced algorithms like quadtree and some machine learning you've earned a lot of my respect. Keep up the good work, dude!
@remcodejong26515 жыл бұрын
The edits in this video are sooooo good!
@JonathanChute5 жыл бұрын
14:20 - you eluded to an interesting challenge. You should create a program that creates a font based off of this noise so that each time you write down the letter "o" for example you'll get one of these subtly off circles that is constantly different, and then extrapolate that to the entire alphabet so when you type in your keyboard you get the computer "handwriting" your sentence. Each letter would look unique, similar to handwriting, whereas fonts each letter is made exactly equal.
@TheCodingTrain5 жыл бұрын
Love this idea! You should make it!
@flameofthephoenix8395 Жыл бұрын
Well, this would be great in a video game or something like that, you wouldn't be able to use it as easily for messenger apps, of course you could have it to where it has each person see a different variation of the same text, and no one would likely notice.
@NatetheAceOfficial5 жыл бұрын
It's dark in the room, quiet. Daniel stirs slightly in his slumber. Suddenly he is sat bolt upright! "Perlin Noise!"
@markimoop94165 жыл бұрын
It's never dark in the room whenever Daniel's around.
@theromancheezit79825 жыл бұрын
lol this sounds like a creation myth
@marcoronzani71975 жыл бұрын
Unbelievable, i needed this kind of thing right now for a project i'm working on, i was going to watch back your asteroids video cause i remember from there something similar, all in all...perfect timing, you are the chosen one!
@mehdiikbal12445 жыл бұрын
Love from France Dan! You are so inspiring and positive. I began coding thanks to you and it was the best thing that could happen to me. Merci beaucoup!!!
@Cosmoandcracker5 жыл бұрын
Dude, I am watching your videos for a while now, and i have never seen someone with this kind of sunshine-happyness while coding. Your videos are great! Keep it like this. Awesome work!
@TechnicJelle5 жыл бұрын
I just started making an Asteroids game today! Loved the video! Thanks, Dan!
@DodaGarcia2 жыл бұрын
Perlin noise is so awesome, I love learning more about it from this channel
@eideticex5 жыл бұрын
Never realized this was it's own concept. Used a very similar approach about 6 or 7 years ago to test attenuating light geometry. The renderer I was working on used calculated geometry to represent lights, everything from spheres, cones, toriods to exotic super shapes. After implementing improved perlin noise in HLSL, up to 4 dimensions I was itching to apply it all over the place in the renderer. One of the first things I did was sample noise space at each vertex of the geometry for the lights and passing that into my lighting equations as an attenuation of the radius. Made lights have the familiar imperfection we see in real life and when animated across time, made for very convincing incandescent light sources even though I kept the attenuation so small that the final image showed no more than a delta of 10 in RGB values. Didn't even occur to me while doing that, that I was playing with a rather interesting usage of perlin noise. Then again are there really any non-interesting uses of perlin noise?
@Unplanted5 жыл бұрын
Kudos to the subtitler! Great work!
@NatetheAceOfficial5 жыл бұрын
The edits were so fun!
@waynewedge5 жыл бұрын
Very inspiring. Thank you. Once again, I need to go and program my brains out.
@ericschneider49195 жыл бұрын
This is fantastic. Cyclic noise feels like the kind of thing a lot of people have wanted and I didn’t realize it existed without summing some sort of time-shifted noise function or some other mumbo jumbo. This is a super elegant solution! I’m wondering if circles would be any better than, say, a square in this context. Surely any closed loop would have this property, but intuitively it feels like a circle is the “most random,” even though something like a square is less computationally taxing. Also, it would be interesting to see what would happen if you put multiple shapes in a perlin noise “field” that acted as a displacement map. If you varied each vertex in a shape by the value of the noise at that vertex, i’d imagine you’d get a really cool effect by moving that shape around or varying the field in 3d. Anyways, great video!
@willb.7555 жыл бұрын
You channel is always so exciting! Thanks for all the great content over the years.
@dejoker90425 жыл бұрын
Im 0 seconds in to the video and the like button is already pressed. Love your videos!
@jakehenri96084 жыл бұрын
I am so glad you finally did this! I have been wondering about how to fix that blob for over a year now!
@MahBor4 жыл бұрын
You're such an amazing teacher. I finally understand what 2D perlin noise means.
@edwinjones1344 жыл бұрын
Best teacher on the internet
@granteadie26164 жыл бұрын
you're a national treasure my friend 10/10
@markuzj.k94455 жыл бұрын
As always You made it very clear :).thanks.
@paulusul5 жыл бұрын
Perlin noise is always positive That made me really happy :)
@alex_bc3 жыл бұрын
EXACTLY the information I was looking for! Thank you so much
@iamsushi10562 жыл бұрын
What an awesome video for inspiration! You could theoretically make a 3d random or self-avoiding walk through spherical coordinates (or a 2d polar random walk) and use that as the coordinates for your perlin noise to be able to just have so many random loops
@erumabo5 жыл бұрын
Man, I like emotion you put on this, you got a new subscriber.
@aram2855 жыл бұрын
Polar Perlin Loops, part of a balanced developer’s diet. edit: oops I did a mispelliginationating but its fixed now
@ABaumstumpf5 жыл бұрын
But he didn't use Perlin noise.
@ABaumstumpf5 жыл бұрын
@Manan Karnik No, it is *not*. IN processing and p5js at the very least it returns a fractal noise - that is NOT Perlin noise. Fractal noise is a form of noise generated by adding several different noises together. In case of processing/p5js that becomes apparent when you look at the "NoiseDetail" function: It set the number and falloff for the used noise-layers. Perlin Nosie itself is a very regular grid-based noise with uniform feature size and smooth transitions. Adding several layer of that with decreasing size and amplitude gives the nice rugged result that resembles a terrain.
@aram2855 жыл бұрын
@@ABaumstumpf It was a joke k dude. Calm.
@Dalendrion5 жыл бұрын
According to the documentation, it's Perlin noise. processing.org/reference/noise_.html It is of course possible that the documentation is wrong. If it is, it's understandable where the confusion comes from.
@airxperimentboom5 жыл бұрын
I love this !
@kenan23863 жыл бұрын
How does he have all of that energy Keep up your work!
@porknwithbill5 жыл бұрын
I love how human and practical your code is. We don’t have to talk about the semi colons
@BIG_CLARKY5 жыл бұрын
This guy has crazy math/science teacher vibes
@iamjimgroth Жыл бұрын
This guy is amazing!
@listeningcosmos3 жыл бұрын
Was struggling with this problem, thanks for the solution. Tried this method for my music visualizations and it worked well. Now I think I'll try to improve it by adding a sound reacting component to make it interactive.
@mujaahidhaywood98435 жыл бұрын
I swear Mr Shiffman, you acknowledge every comment. Thanks for another intriguing video.
@TheCodingTrain5 жыл бұрын
I do miss a few!
@drsmek2 жыл бұрын
I love how I found this video and it actually helped me solve a problem I was working on 😅
@scalarnomad93304 жыл бұрын
This dude is the best!
@wkool94305 жыл бұрын
Great video! You inspired me to make Snake (the game) in JavaScript. The twist is that i am not using any form of grid other than just the loose pixels... It's really close to being done. Thanks again for the inspiring video's
@slyer76955 жыл бұрын
Love from Italy ❤️♥️🇮🇹, #LoveFromItaly5
@jolly89535 жыл бұрын
this channel is a real inspiration for stuff to do lol
@turnipzoxi28535 жыл бұрын
Chaotic good coding.
@roykepoyke4 жыл бұрын
That is my favorite video of yours
@kushagraverma94525 жыл бұрын
Nice editing!
@d_v_d10705 жыл бұрын
18:03 in he plays the cards and lures you in with that oneliner, your passion for code ignites "if......the creative possibilities expl...." o yeszz :)
@Wobbern5 жыл бұрын
You would be a great teacher! I can tell it on the way you leave the mouse in the middle of the images you want to show.
@prakharlondhe38765 жыл бұрын
he is a *professor*
@Wobbern5 жыл бұрын
@@prakharlondhe3876 and this was a *joke*
@devi_buns5 жыл бұрын
Your videos always inspires me ♥
@JBahrsShiz5 жыл бұрын
First of all, you rock. Thank you for your videos. As a newbie, I feel overwhelmed, but inspired by your videos. I guess it's like someone learning to play the drums and watching Neal Pert thinking, 'I have a long way to go' and 'man, that's awesome' all at the same time. What is your advice to the noob? I am currently more than half way through the codecademy full stack web development course and plan to finish that, but was curious to hear from the community what "best practices" are recommend for new guys/gals.
@iwantedtohaveabigytnamepsi20075 жыл бұрын
Omg, that's so amazing
@monochromatech Жыл бұрын
Hey I just found your channel and I love it.
@cielregister88285 жыл бұрын
good video Dan!
@aryamankejriwal59595 жыл бұрын
Anyone else remember the debate about whether it was polar noise, perlin noise, polin noise or perlar noise?
@cellininicholas5 жыл бұрын
As well as changing the Z-Offset, could you also move the centre of the circle (that is sampling values in 2D perlin noise)? You could also play with that circle in other ways... Maybe use an oval and slowly change it's shape over time?
@СергейКучерюк2 жыл бұрын
Great video!
@hund44405 жыл бұрын
You can get a 2d tileable perlin noise texture by cutting a thorus through 3d perlin noise
@pdutube5 жыл бұрын
The segment at 16:34 looks like the continent of Antarctica is morphing with Earth's rotation. Trippy. Another cool way to implement 3+ dimensions is to make the extra dimensions color based or sound based. Then a rotation/translation/etc., would change colors and sounds.
@TheCodingTrain5 жыл бұрын
Please try this!
@aaronrothwell76155 жыл бұрын
This is a really fun one to add alpha clearing to, so you get blurred lines as the shape morphs. So instead of background(0) you would use color(0,0,0,25); rect(0,0,width,height); and this will draw a rectangle over the entire screen that is slightly faded out and because these are layered on top of each other each previous generation of line is more blurred out and so slowly transitions to black. Hopefully this makes sense, not sure how to format code in comments.
I was thinking about whether you could make a seamless 2-dimensional texture (there was a video were you used Perlin noise to create a vector field and had particles flow through it, but it had artefacts at the edges where the vector directions would change abruptly). My first thought was to use the surface of a 3D torus to give a looping 2d texture in the same way you're using the edge of a 2D circle to generate cyclic 1D noise here. Then I twigged that the would cause distortion in the texture, since the outer edges of the Torus would sweep through a larger length of the noise pattern than the inner surface for the same angle. You could minimise it by turning the minor circle so it's tangent to the major circle rather than radial (so your torus would be flattened as if you sucked all the air out of it) but it'd still have a slight distortion to it unless you actually projected the circle onto the surface of a cylinder (sounds complicated, but probably just needs the coordinate calculations to come in the right order). Part of me wonders if it would be simpler just to write a Perlin noise class that interpolates smoothly between the edges, but that would limit the scale of the noise to integer fractions of the screen space, and might cause issues if you wanted to create images with odd aspect ratios.
@DustinGunnells5 жыл бұрын
I don't know what you found here, but I'm still studying it. I think you found something extremely important on accident. That phase thing is incredible!
@JNCressey5 жыл бұрын
As the phase changes, the orbit of (cos(A+phase), sin(A)) over A morphs as follows: Phase=0: counterclockwise circle Phase=pi/2: oscillating along the straight line between (1,-1) and (-1,1) Phase=pi: clockwise circle Phase=3pi/2: oscillating along the straight line between (-1, -1) and (1,1) And between those, it is various elliptical shapes.
@diligar5 жыл бұрын
What if, when moving through 3D Perlin space, instead of looking at circles in x,y with increasing z, you looked at circular cross-sections of a torus? Then it’d definitely loop :D
@KnakuanaRka4 жыл бұрын
Okay, the gag at 6:02 is hilarious. ¯\_(ツ)_/¯
@WildAnimalChannel5 жыл бұрын
I use 3d fractal noise to make mountains on the 2D surface of planets in my game I'm making. You're giving away my secrets!
@jazonjiao6385 жыл бұрын
Awesome! Finally fixed the broken blobby!
@elyaizen5 жыл бұрын
Wow Dan. 👏
@EliKennedyАй бұрын
This is crazy. Last week i coded a wobbling blob of space jelly in a perlin noise loop for my space shooter and mine DOES have this visual artefact. Now I can fix it
@poplikes3 жыл бұрын
brilliant!
@johnterpack39405 жыл бұрын
It looks like the perfect technique for modeling a realistic planet. Just apply the exact same technique to spherical coordinates instead of polar coordinates. Maybe add a couple octaves of additional noise or an underlying sine wave pattern to help create larger scale areas like continents. At any rate, it certainly gives me a better idea of where to start than anything else I've found. Thank you.
@КлипыипесниНОВИНКИ2 жыл бұрын
Супер. Вы крутой!
@kreuznachpham12085 жыл бұрын
Amazing. Thank you so much
@pinkierar_real5 жыл бұрын
Потрясающе
@vadsavin5 жыл бұрын
Do you remember your Perlin noise example with moving particles? Please, try to make the same staff but let particles move like drawing contours of input image.
@hendasheng3 жыл бұрын
thank you for your help:)
@topa94875 жыл бұрын
*give me the polar perlin noise LÖÖPS brother*
@pluffcrock34382 жыл бұрын
21:35 that shooting sound resonates in my nose
@JackLaidlaw5 жыл бұрын
Wonderful
@monlewi19765 жыл бұрын
Perfect spin loader
@kautukkundan80015 жыл бұрын
Just amazing
@abdelrhmandameen22153 жыл бұрын
I’m here for the hands gestures.
@creature_of_fur5 жыл бұрын
During your explanation I had another idea. What if we take 1D perlin noise, then take the end points, draw a line between them, and then shear the entire graph, so the line stays perfectly flat. Essentially, when we take the noise value, we subtract some amount from it. That amount ranges from the start point value at t=0 and the end point value at t=1. Just simulating it in my brain, I don't think it would be noticeable
@SaifUlIslam-db1nu5 жыл бұрын
Is there any possible chance you can arrange to teach professors and teachers how to make animations like this? Your graphics really help to understand Mathematics and Physics. I think it would help quite a lot in the class room!
@deadend81115 жыл бұрын
Nice video!! I challenge you to make a drawing predictor (simple neural network that calculates the next points locations from few starting points)
@execskies42453 жыл бұрын
Now I want to see rolling Perlin noise
@darkfrei23 жыл бұрын
Can you explain how to code the *map* and *noise* functions?
@VictorNascimentoo5 жыл бұрын
Do a next challenge on Hilbert Curves and other space filling curves :)
@mahirdaiyansafwaan21485 жыл бұрын
Awesome
@AuraVFX2 жыл бұрын
how do you make the noise loop follow a certain shape like the heart you showed in the start
@Mortagus5 жыл бұрын
Wiggle wiggle wiggle 😛
@DotNetRussell5 жыл бұрын
This would be cool to use to generate random terrain
@TheCodingTrain5 жыл бұрын
See: kzbin.info/www/bejne/f3ylYpuNjMqXg80
@JonDavies-Shiftbulk2 жыл бұрын
Continuously good videos. Can you do one with the polar noise mapping seamlessly to a sphere. it is tricky as you change the radius the polar mapping the noise texture distorts.
@TheCodingTrain2 жыл бұрын
Oh I would love to try this!
@praveshgaire34375 жыл бұрын
Never though noise would be that useful
@Seb135-e1i4 жыл бұрын
So. You use one noise loop to make sure that the circle is perfectly closed. At the end you also introduced the possibility of a z-offset. Could you use 4 dimensional perlin noise, use dimensions 1 and 2 for the perfectly closed circle, and move around dimensions 3 and 4 in another circle with a z-offset and w-offset so that it creates a perfectly looping animation?
@juschu855 жыл бұрын
12:48 No, you couldn't just split up a into two different variables and increment them in another way. Then you wouldn't end up at the point where you started in the 2-dimensional perlin noise space. Or I just misunderstood what you said you could do.
@mastermezorno15935 жыл бұрын
The mister rogers of computer science.
@anthonytonev13575 жыл бұрын
Welcome back to Polar Perlin Noise Loop Thing of a Blob
@ABaumstumpf5 жыл бұрын
I have said this on several of your other videos - but this is *NOT* perlin noise. Processing, p5js and several others might call it that, but this is a form of fractal noise - several layers of smooth noise of different frequencies added on top of each other. Also - Perlin noise is inherently closed. If you set the correct scale you automatically get your desired perfect closing loop. This also works for creating 2D perlin noise and making it tileable.
@TheCodingTrain5 жыл бұрын
Thanks for the feedback! From what I understand, the implementation in Processing is "classic Perlin noise" from 1983. I agree that I could be better about being clear about this. Actually I'd love to make a video that shows the differences between this classic "VALUE" (?) method vs Simplex vs Perlin. It would be wonderful to have a Processing library with these different implementations. Maybe this can be a Coding Train project!
@ABaumstumpf5 жыл бұрын
@@TheCodingTrain " From what I understand, the implementation in Processing is "classic Perlin noise" from 1983." the noise-function of processing is giving you a fractal noise. It might very well be using a form of Perlin-noise internally to generate the octaves, but what you get is certainly no longer Perlin.
@orpheus01085 жыл бұрын
that's how perlin noise works💁♂️
@ahmedsharif91933 жыл бұрын
Actually, negative values for xoff & yoff are supported in the p5 Perkins noise function
@jedmarshall2175 жыл бұрын
What if you moved where you were getting your perlin noise valises from, instead of moving around the circle? Say, having the circle trace around another circle in the perlin plain? Seems like this might be a cool way to add some more “randomness” to the space without having repeats before the end.
@georhodiumgeo98275 жыл бұрын
Did he just project 3D, 2D perlin noise into a 1D line projected onto a 2D picture taken into the third dimension! I am happy this didn’t cause the universe to explode but I don’t know how much more of this it can take!
@inusahrauf18105 жыл бұрын
very good video
@inusahrauf18105 жыл бұрын
Please how do i build my own live video streaming website in my shared hosting Cpanel?