In this video, I cover createGraphics() in p5.js in order to demonstrate how to draw some shapes with trails and some without. Code: [ Ссылка ]
p5.js Web Editor Sketches:
🕹️ Trails: [ Ссылка ]
🕹️ Stars: [ Ссылка ]
🎥 Previous video: [ Ссылка ]
🎥 Next video: [ Ссылка ]
🎥 All videos: [ Ссылка ]
Timestamps:
0:00 Introduction
1:42 Create Two Canvases with createGraphics()
3:45 Use clear() to Make the Extra Canvas Transparent
5:00 Order of Shapes within Draw()
Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound
🚂 Website: [ Ссылка ]
👾 Share Your Creation! [ Ссылка ]
🚩 Suggest Topics: [ Ссылка ]
💡 GitHub: [ Ссылка ]
💬 Discord: [ Ссылка ]
💖 Membership: [ Ссылка ]
🛒 Store: [ Ссылка ]
🖋️ Twitter: [ Ссылка ]
📸 Instagram: [ Ссылка ]
🎥 Coding Challenges: [ Ссылка ]
🎥 Intro to Programming: [ Ссылка ]
🔗 p5.js: [ Ссылка ]
🔗 p5.js Web Editor: [ Ссылка ]
🔗 Processing: [ Ссылка ]
📄 Code of Conduct: [ Ссылка ]
This description was auto-generated. If you see a problem, please open an issue: [ Ссылка ]
#creategraphics #p5js #javascript
![](https://i.ytimg.com/vi/TaluaAD9MKA/maxresdefault.jpg)