Coding Challenge #12: The Lorenz Attractor in Processing

The Coding Train
The Coding Train
406.2 هزار بار بازدید - 8 سال پیش - In this coding challenge, I
In this coding challenge, I show you how to visualization the Lorenz Attractor in Processing. Code: https://thecodingtrain.com/challenges...

🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/s...

🎥 Previous video: Coding Challenge 11: 3D Terrain Gener...
🎥 Next video: Coding Challenge #13: Reaction Diffus...
🎥 All videos: Coding Challenges

References:
📑 Lorenz System on Wikipedia: https://en.wikipedia.org/wiki/Lorenz_...
📖 Lorenz Attractor: http://paulbourke.net/fractals/lorenz/
📚 PeasyCam library: http://mrfeinberg.com/peasycam
💻 beginShape(): https://processing.org/reference/begi...
🧾 What is a differential equation?: https://www.myphysicslab.com/explain/...
📕 My NOC class on Kadenze: https://www.kadenze.com/courses/the-n...

Videos:
🔴 Livestream Archive: Live Stream #38: Viewer Submitted Que...

Related Coding Challenges:
🚂 #13 Reaction Diffusion Algorithm: Coding Challenge #13: Reaction Diffus...
🚂 #160 Spring Forces: Coding Challenge #160: Spring Forces

Timestamps:
0:00 Introducing today's topic
0:55 Differential Equations
2:30 Lorenz systems
3:36 Non-linear, chaotic systems
4:30 Start Coding!
6:07 Every cycle through draw is 1 unit of time
6:30 Add formulas to code
8:19 Change of time per frame
10:10 Modify the inputs
12:48 Plot the system
14:08 Scale the scene
14:42 Add an array list to store the data
16:00 Write an enhanced loop
17:00 Add beginShape() and endShape() to connect the points
17:52 Change to HSB mode and add color
19:07 Add an offset
20:06 Conclusion and design possibilities

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

🚂 Website: http://thecodingtrain.com/
👾 Share Your Creation! https://thecodingtrain.com/guides/pas...
🚩 Suggest Topics: https://github.com/CodingTrain/Sugges...
💡 GitHub: https://github.com/CodingTrain
💬 Discord: Discord: discord
💖 Membership: http://youtube.com/thecodingtrain/join
🛒 Store: https://standard.tv/codingtrain
🖋️ Twitter: Twitter: thecodingtrain
📸 Instagram: Instagram: the.coding.train

🎥 Coding Challenges: Coding Challenges
🎥 Intro to Programming: Start learning here!

🔗 p5.js: https://p5js.org
🔗 p5.js Web Editor: https://editor.p5js.org/
🔗 Processing: https://processing.org

📄 Code of Conduct: https://github.com/CodingTrain/Code-o...

This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecod...

#math #lorenzattractor #processing #java
8 سال پیش در تاریخ 1395/02/17 منتشر شده است.
406,224 بـار بازدید شده
... بیشتر