Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Codecademy

Learn p5.js: Interaction

via Codecademy

Overview

Add interactivity to your p5.js sketch with mouse and keyboard functions.
Continue your creative coding learning journey with Learn p5.js: Interaction. You'll learn to add interactivity to your p5.js sketch with mouse and keyboard functions.



### Skills you’ll gain
* Track mouse position and events to trigger animations.
* Initiate animations based on the distance between the mouse and visual elements.
* Detect keyboard events to trigger animations.

### Notes on prerequisites
We recommend that you complete [Learn p5.js: Fundamentals](https://www.codecademy.com/learn/learn-p5js-fundamentals) before starting this course.

Syllabus

  • Interaction: Add interactivity to your p5.js sketch with mouse and keyboard functions.
    • Lesson: Interaction with p5.js
    • Project: Generative Art Creator
    • Quiz: Interaction with p5.js
    • Informational: Next Steps

Taught by

Kenny Lin

Reviews

5 rating at Codecademy based on 1 rating

Start your review of Learn p5.js: Interaction

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.