Creative JavaScript World-Building with p5.js

Creative JavaScript World-Building with p5.js

Creative JavaScript World-Building with p5.js

Ages 9–14 · Beginner · Live online group, up to 20 kids · $19.00 per class

Next class: Wed, Dec 2 · 10:00 AM US Eastern. Full refund if the first class isn't the right fit.

This 4-day course teaches beginner-friendly, real JavaScript using the p5.js framework through a hands-on world-building project. Students learn core programming concepts—variables, conditionals, loops, functions—plus keyboard/mouse input, classes for custom objects, animation, and basic debugging as they design and animate an interactive scene.

Class Experience

In this four-day camp, learners write real JavaScript with the p5.js library to build an interactive world of their own design. They plan a themed scene, draw it with shapes, colors and coordinates, then add a main character that moves smoothly with the keyboard.

Along the way they learn variables, conditionals, loops and functions, handle mouse and keyboard input, and use classes to manage collectible or clickable objects with collision checks and scoring. On the final day they polish their world with images or sounds, debug tricky behaviors and share the finished project.

How classes work

This camp meets on four days in one week, with each 55-minute session adding a new layer to the same project. The teacher demonstrates a concept, learners code it into their own world, and the group troubleshoots together before a final showcase.

What we'll cover

  • Day 1: World Design & Drawing – Plan and code the scene using shapes, colors, coordinates, and background assets to build a themed environment in p5.js.

  • Day 2: Character Movement & Animation – Add a main character and implement smooth movement using position variables, key events, and the draw loop.

  • Day 3: Interactive Objects & Events – Create clickable or collectible objects and use conditionals and collision checks to trigger reactions and scoring.

  • Day 4: Polish, Sound & Showcase – Add finishing touches such as images or sounds, debug interactions, and present projects in a final class showcase.

Learning Outcomes

  • Bullet point

    Write JavaScript code using the p5.js library

  • Bullet point

    Use variables, conditionals, loops, and functions in interactive sketches

  • Bullet point

    Handle keyboard and mouse input and use event listeners for interactivity

  • Bullet point

    Create and manage objects with classes to organize multiple elements

  • Bullet point

    Test and debug interactive code to refine behavior and animations

Prerequisites

No coding experience needed; learners should be comfortable typing and using a mouse. Have a computer ready with a web browser and a free p5.js web editor account set up.

What You'll Need

Supplies
NotebookPencil
Software
P5_JS
Device and internet
Computer (Windows or Mac)Stable internet connectionp5.js web editor in a web browser
Websites
editor.p5js.org

Learners use a notebook to sketch their world, plan characters and note coordinates before coding.

Syllabus

4 Lessons

A step-by-step plan of what your child learns, class by class. · 1 Week

World Design & Drawing

Plan and code the scene using shapes, colors, coordinates, and background assets to build a themed environment in p5.js.

Character Movement & Animation

Add a main character and implement smooth movement using position variables, key events, and the draw loop.

Interactive Objects & Events

Create clickable or collectible objects and use conditionals and collision checks to trigger reactions and scoring.

Polish, Sound & Showcase

Add finishing touches such as images or sounds, debug interactions, and present projects in a final class showcase.

Available Times

Next 7 days, US Eastern Time

  • Wed, Dec 2 · 10:00 AM
  • Wed, Dec 2 · 4:00 PM
  • Thu, Dec 3 · 11:00 AM
  • Thu, Dec 3 · 1:00 PM
  • Mon, Dec 7 · 8:00 AM
  • Mon, Dec 7 · 12:00 PM
  • Mon, Dec 7 · 5:00 PM
  • Mon, Dec 7 · 6:00 PM

Parents Often Ask

Yes, no coding experience is needed. Learners should be comfortable typing and using a mouse, and they'll write real JavaScript from day one.

A Windows or Mac computer with a web browser, a stable connection, and a free p5.js web editor account. A notebook and pencil help with sketching the world and noting coordinates.

An interactive world, essentially a small game, with a themed scene, a main character controlled by the keyboard, collectible or clickable objects, collision checks and scoring.

Your child will learn variables, conditionals, loops and functions, keyboard and mouse input, event listeners, classes for custom objects, animation and basic debugging, all applied to their own p5.js world.

It's four 55-minute classes in one week: world design and drawing, character movement and animation, interactive objects and events, and polish, sound and showcase.

Yes. On the final day learners polish their world with images or sounds, debug tricky behaviors and share the finished project.

Possibly. The range of 9-14 is flexible, so an 8-year-old who types and uses a mouse comfortably may be a good fit.

Yes. Cancel before the second class starts for a full refund. After that, classes already started count as used and the rest are refunded to store credit or your original payment method.

Meet your Instructor

Joined August, 2026

6+

Years

An experienced, multi-disciplinary team of educators and developers focused on early tech literacy, Coco Coders combines classroom teaching experience with real-world programming skills. Instructors bring backgrounds in computer science, education, psychology, and technical training and design project-based lessons using JavaScript (p5.js) and Python to create interactive art, games, and beginner-friendly projects. Classes emphasize creativity, problem solving, and coding fundamentals while providing individualized support so students build both technical skills and confidence as young coders.

Web Design for Beginners: Build 6 Websites with HTML, CSS & JavaScript

Beginner

Level

10–13

Ages

55 min

Duration

1 / Week

Classes

16

Weeks

$21.50per class
See schedule

🎬 Build a Real GIF Web App

Beginner

Level

12–18

Ages

55 min

Duration

2 / Week

Classes

12

Weeks

$21.00per class
See schedule

Build a Clicker Web Game with HTML, CSS, and JavaScript

Beginner

Level

10–15

Ages

75 min

Duration

1 / Week

Classes

5

Weeks

$22.00per class
See schedule

Intro to JavaScript with p5.js: Interactive Art & Games

Beginner

Level

8–13

Ages

55 min

Duration

1 / Week

Classes

3

Weeks

$20.00per class
See schedule

AI-Assisted Game Development with Cursor: Python, Pygame & Three.js

Beginner

Level

13–17

Ages

60 min

Duration

1 / Week

Classes

10

Weeks

$23.00per class
See schedule

Intro to Web Development: HTML, CSS & JavaScript

Beginner

Level

10–13

Ages

55 min

Duration

4 / Week

Classes

2

Weeks

$21.50per class
See schedule

React Bootcamp: Components, State, APIs and Deployment

Beginner

Level

13–18

Ages

35 min

Duration

1 / Week

Classes

50

Weeks

$19.00per class
See schedule

Web Game Development with HTML, CSS & JavaScript

Beginner

Level

13–16

Ages

55 min

Duration

1 / Week

Classes

8

Weeks

$20.00per class
See schedule