Please enable JavaScript to use CodeHS

  • Autograded

Electron Simulation

In this project, students will use graphic animations, control structures, and objects, along with their knowledge of electrostatic forces, to build an electron simulation. Students should be familiar with 2D kinematics, forces, and Coulomb's law.

Hard

8 Hours

High School

Project Description

Background

Simulations have important roles in science and understanding the world around us. They allow us to model, explore, and test specific interactions, often ones that are difficult to control in the real world.

In this project, you are going to create an Electron Simulation that models how electrons will interact with each other in a confined space. In doing so, you will not only demonstrate your understanding of the electrostatic force and kinematics, but also how to program with objects, arrays, and the fundamentals of JavaScript.


Your Task

In the first step of this project, Creating Your Electrons, you will add many electrons to the canvas and learn how to control them independently without creating many different variables. Then, in Adding the Electrostatic Force, you will add the physics that will ultimately define how the electrons interact with each other and move.

Project Demo

Explore this program before assigning it!

Project Overview

Here is an outline of the project activities: