Coding Train Live 169: Perlin Noise Loops + JS Inheritance

preview_player
Показать описание
In this live stream: Perlin Noise Loops in Processing(Java) and JavaScript Inheritance.

Timestamps:
5:17 Community contributions
22:25 Polar Noise Loops
52:15 Use mic to add noise
1:13:24 Polar Perlin Noise loops, part 2
1:27:04 GIF loop

References:

Videos:

Related Coding Challenges:

Рекомендации по теме
Комментарии
Автор

This was really entertaining to watch! I find it so interesting to see the behind the scenes, like the trial and error, how you work out flaws, etc!

JJCUBER
Автор

instanceof works exactly as expected. Since the Confetti is a child of particle (it inherits the properties of a particle), it is also the instance of a particle.
It basically IS a particle with the additional properties of a confetti.
For calling the parent constructor, I think "parent.apply(this, arguments)" is more versatile.

clemensruis
Автор

You should have guest coders to jump in and help you with visual flare when you need it. They could wear a unicorn costume or whatever and just magically add color to your project . Like a kids show. Idk

barrybryant
Автор

Thank you. Very inspiring. Made me start writing my own code!

waynewedge
Автор

This isn't sad. This is cringe. Thank God you exist.

toastyPredicament
Автор

I d'on't hope that you remember my firt commentary about you giving our world of developer funny for "every one" but in live, god, just thank you again that's make me so happy ! I will be very glad to make a conference about coding with you, just to spread your hapiness of making marvelous think with coding around France ! just improve yourself more and more on you love of doing thing and spread it to more and more people. And just a big thank you !

yonnitabeling
Автор

I have been waiting like 5 years for you to make this video.

ThatHomelessGuy
Автор

webyoda, thank you for your efforts. You have done a really good job with this video.

helenevans
Автор

Box for markers that are used up = the bin!!

jesspizzol
Автор

Use instanceof instead of typeof (just tried that in my console):

function Particule(){}
var c = new Particule();
console.log(c instanceof Particule)
-> true

MrBaloud
Автор

I'm not gonna have too much exposition today. Let's get right into it!

So this came to me in a dream..

reallyjolle
Автор

Dear Dan, I have a quest for you! :D

An algorithm that finds the point on an arbitrary polygon that is the shortest from an arbitrary point.
You could use that for a lot of things, like simulating a mace or a rope attached to an object in 2d or 3d etc.
And then you could advance this to a crazy level, like making it work for infinite dimensions.
But you would need to understand what a polygon is in 4d and above.
If you do this, you are the king of abstract linear algebra and geometry.
Prerequisites: Linear algebra -> Projection, Geometry, 2-vector-norm, subspaces, Abstract math genius skills, And a lot of aspirin

rickmonarch
Автор

at 1:59:40 you could make it move very fast to verify it's a looped gif (because it would look solid).

Pinocchio
Автор

Goldplatedgoof did a video about making a picture (of danny devito) using string. Would be a very cool coding challenge!

owendeheer
Автор

Try building an application that calculates a minimal weigth of a spanning tree (so called Prim's algorythm). You can also read about Ford Fulkerson's algorythm.

oleksandrtashno
Автор

Can you implement the neat algorithm (neural evolution using augmented topologies).it's a little challenging :)

markuzj.k
Автор

Fill the blob thing with green on blue and it makes interesting island shapes

vincentcleaver
Автор

59:36 Here is an issue I had problems with before. When you draw the background only that light, the lines never completely disappear.
Unfortunately I didn't follow up on this back when you did the double pendulum, but in one of my experiments I had this issue but left the project rot in a dark corner in my dev directory...

I'm assuming it's some kind of rounding issue, does anybody have an idea on that?

juweinert
Автор

40:09 You are using translate to move your canvas origin. Isn't there some function that converts coordinates between whatever translation you have currently applied to the canvas and the "outer" one (think of push and pop here)?
Such functions could be extremely useful in many use cases, now I think about it.

juweinert
Автор

Coding Train (or anyone who knows the answer to this),
I'm trying to figure out how to download p5.js so that I can attempt at making a chess game with JavaScript. I am a Mac user. My preferred IDE is Visual Studio Code. Do you know any way to run the javaScript in VSC? If so, could you please reply? That being said, I am not sure how to run the p5.js outside of the online editor. Because of my incompetence, if you know the answer to any free text-editor or IDE (not just VSC), I would also appreciate your assistance.
Thank you!

danielmurray