If you're seeing this message, it means we're having trouble loading external resources for Khan Academy.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Vectors

1 project
6 articles
6 challenges

Challenge: Vector walker

Use PVector and vector addition to control a walker.

Challenge: Lightsaber

Make a lightsaber interactive using vector math.

Challenge: Magnitude visualizer

Visualize vector magnitude with labels and colors.

Challenge: Braking car

Make it so that you can start and stop the car with the keyboard.

Challenge: Static functions

Practice using the static functions of PVector.

Challenge: Mouse stalker

Make a mover accelerate based on how close the mouse is.

Project: Computational creatures

<img src="https://ka-perseus-images.s3.amazonaws.com/7bbcaddc11804d8d18c538e635dceb86d43c2218.png" style="float:right; width:200px;margin:10px;"> <p>For the rest of the Natural Simulations course, our projects will work towards ...