Coding Train Live: Marching Squares and Flocking Mewchoo

preview_player
Показать описание
In this episode of the Coding Train Morning Show, I discuss Marching Squares and Marching Cubes, community contributions! Also, revisiting my Blender "Mewchoo" model and importing into Processing.

Timestamps:
0:00 Live Stream Starts
3:40 Introduction
12:15 Mew Choo: Community Submissions
15:54 Coding in The Cabana: Marching Squares
24:54 Fractal Flame
43:00 Community Submissions
1:00:44 Notion
1:05:00 Small Break
1:10:28 More Community Submissions
1:26:08 3D MewChoo on Processing
1:57:45 Flocking Mewchoo on a 2D Plane
2:12:10 Flocking Mewchoo in a 3D Box
2:56:10 Random Numbers
3:00:07 Goodbyes and End of Stream

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

You are such a lovely human being, Daniel.

clemensruis
Автор

50:00 An attempt at answering your question about my marching squares: I am using one dimensional Perlin noise. There is a global variable zoff that keeps track of the position in noise space. I am incrementing that zoff variable in two places. The first place is every time through the draw() function. And the second place is getting a value for each square in the in the getDots(zoff) function, which creates the field of dots or squares with a smooth noise values. I think the animation looks like it is scrolling up because of the nested loop is for each x there is a y. So the smooth noise field is generated from top to bottom left to right. maybe. Only the noise increment value is changed by the slider, so the effect is something like an increasing the speed. Also just a note that the noise() in p5js returns values between 0.0 and 1.0. but open simplex noise returns a value from -1 to 1 so you have to tweak the code a bit to get the states.

gkreisman
Автор

Me: did you just run into an error?
C++: yes
Me: so you should know what happened or at least which line caused an error?
C++: makes sense
Me: so what is the error?
C++: segmentation fault

dangogh
Автор

Not throwing shade at anyone else who makes instructional videos for coding (because they do a hell of a lot better job than I ever could), but this guy has more personality than all of them combined and I love it

bentagtow
Автор

THE CODING TRAIN COMMUNITY IS SO WHOLESOME AND WELCOMEING!!!!

ablearner
Автор

My fav and best coding youtuber :)
Thanks, dan.

iyxan
Автор

"I gonna go"
Countinues for an hour more

ushasingh
Автор

That's pretty awesome. I learned something new.

CodingWithKids
Автор

Thanks for all these great tutorials. Is it possible to put all these amazing tutorial in playlist? this will benefits your viewers and learners which I'm one of. Thanks.

dreadesina
Автор

@The Coding Train, You mentioned in your previous videos that you are interested in Computational geometry algorithms. Could you post a video about this one particular algorithm called "Bowyer-Watson" algorithm for doing Delaunay triangulation? I saw your Quadtree generation video and it helped me a lot to understand the concept better than many lectures. I hope you can do this algorithm.

vigneshrajendiran
Автор

Daniel, your my favourite java script rogrammer.

mrss
Автор

You are an amazing human being. Please make video on SUDOKU Solver in JavaScript

Mohit-zgjp
Автор

Can you do a challenge where you deal with polygon clipping and the math behind it? Like when you map two or more intersecting circles, and you have to calculate all the shenanigans to find out how to clip off the intersecting segments and draw a shape that looks like two or more circles minus the intersections. I need to know what to do and I'm having a hard time looking for the right formulas

Jova
Автор

Dannn you are funny and lovelyyy. I put this on to get in a happy mood to code and I solved a (to me) hard bug in p5js, I made an n-body orbits 2d simulation! It's super interesting because it's super hard to fully seize as a function of time but super easy to simulate as a function of the instant that came right before!

nataliarodriguez
Автор

Does anyone know how can you load materials to your obj file

ai-gen-studio
Автор

Hello, how is it possible to assign particular numbers to particular color pixels/ color swatches?

broadwaylamb
Автор

Can we get the "rts game coding series" or is it too complicated to explain games like Cossacks or Age of Empires?

scootaloo
Автор

Hey Dan, you should check out the particle life automata. We miss you!

latentspace
Автор

Can you please create video for webrtc screen sharing on remote

nikhilyadav-pltb
Автор

Can you do drawing function s offline?

bernardnoctor