p5.js Coding Tutorial | Interactive Falling Text Rain

Опубликовано: 10 Апрель 2024
на канале: Patt Vira
1,259
62

LET'S CONNECT
✨ Sign up for my newsletter at https://www.pattvira.com
✨ Instagram:   / pattvira  
✨ Twitter:   / pattvira  
--
Links:
🔗 p5.js editor: https://editor.p5js.org/
🔗 Interactive Falling Text Rain: https://editor.p5js.org/pattvira/sket...
🔗 Introduction to Creative Coding Playlist:    • START HERE: Creative Coding for Begin...  

Related Videos:
🔗 Creative Coding Math - Collision Detection:    • Creative Coding Math: Collision Detec...  

References:
🔗 p5.js textBounds() function: https://p5js.org/reference/#/p5.Font/...

Timestamps:
0:00 Intro
0:10 Display text on canvas
3:03 Use font.textBounds() to get text's bounding box
6:42 Write a Letter class
11:07 Write a collide() method to detect collision between Letter object and paddle
16:30 Create a bunch of Letter objects & final touches


Смотрите видео p5.js Coding Tutorial | Interactive Falling Text Rain онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Patt Vira 10 Апрель 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,259 раз и оно понравилось 62 людям.