tubeshowcase●913,562 videos♡ My collection 0
← Learn to Code

Learn to Code30:56

Coding Challenge #59: Steering Behaviors

The Coding Train ↗

From the creator

In this coding challenge, I look at extracting font path points from text in p5.js with p5.Font.textToPoints(). I render the text as particles with steering behaviors that react to the mouse. Code: https://thecodingtrain.com/challenges/59-steering-behaviors 🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/q7O2v_zqQ 🎥 Previous video: https://youtu.be/dbs4IYGfAXc?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH 🎥 Next video: https://youtu.be/O_0fRV4MTZo?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH 🎥 All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH References: 📓 Steering Behaviors paper: http://www.red3d.com/cwr/steer/ Videos: 🎥 Nature of Code Steering Behaviors Playlist: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6YHt0dtyf4uiw8tKOxQLvlW 🔴 Live Stream #79: https://youtu.be/L1nHni9HMBw?t=6833s Related Coding Challenges: 🚂 #69 Evolutionary Steering Behaviors: https://youtu.be/flxOkx0yLrY 🚂 #124 Flocking Simulation: https://youtu.be/mhjuuHl6qHM Timestamps: 0:00 Introduction 4:14 textToPoints 7:39 Craig Reynold's steering behavior 11:17 vehicle.js 12:07 Prototypes 16:14 Behaviors 17:53 Seek function 21:05 Arrive function 24:24 Random starting points 25:00 Flee the mouse Editing by Mathieu Blanchette Animations by Jason Heglund Music from Epidemic Sound 🚂 Website: http://thecodingtrain.com/ 👾 Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide 🚩 Suggest Topics: https://github.com/CodingTrain/Sugge

Published 2017-02-21 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code