Please turn JavaScript on to use this site.
Worlds
Minds
Users
Uploads
JS code
Search
Worlds
Minds
Users
Uploads
JS 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
Browse
Starter Worlds
Editor's Choice
Showcase Worlds
Multi-user Worlds
Random Worlds
Advanced search
Docs
Docs
API docs
Register
Register
Forgot password
Login
Step 4. Color
Daniel Shiffman shows how to make shapes of different colors and sizes appear at different (x,y) locations.
Top tip: You can use
color names
also, but put them inside quotes.
Video
From:
Tutorial 1.4: Color
World
Tutorial 1.4
Color
Clone and Edit
Previous
Next: Step 5 of 17
Tweet this step: