Please turn JavaScript on to use this site.
Worlds
Minds
Users
Uploads
Source code
Search
Worlds
Minds
Users
Uploads
Source code
Intro
Introduction
Features
Definitions
Principles
The AI model
Teaching
Register a class
Learn
Getting started
P5 tutorial
Three.js tutorial
Coding course
Coding course II
Coding for kids
WebGL course
AI exercises
Python course
Browse
Starter Worlds
Editor's Choice
Showcase Worlds
Multi-user Worlds
Random Worlds
Advanced search
Docs
Docs
API docs
Register
Register
Forgot password
Login
Drag the background!
Step 12. Object Communication Part 2
Bubbles move randomly. Each step, check all intersections of all pairs of bubbles, and change color if they intersect.
Edit the code: Make many more bubbles, make them move faster, and change to new colors.
Video
From:
Tutorial 7.7: Object Communication Part 2
World
Tutorial 7.7
Object Communication Part 2
Clone and Edit
Previous
Next: Step 13 of 13
The background is a program, showing the JavaScript graphics used on this site.
The globes light up when you log in.
Hide background
Hide content