If you're seeing this message, it means we're having trouble loading external resources on our website.

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

Main content

Start here!

How do computers simulate the motion of virtual particles?

In this lesson we'll explore how we use fairly simple physics to draw particles which move according to the forces we feel in the real world (such as wind & gravity).
We'll begin by reviewing the basics of position, velocity and acceleration curves:
We will cover how to draw (and add) forces which act on virtual particles using vectors.
Then we'll explore the relationship between the net force on a particle and the resulting acceleration thanks to Newton's second law of motion.
Finally we'll show you how to calculate the motion of a particle, frame by frame.
After that you'll have all the tools you need to try programming your first particle simulator.

What do I need to know before starting?

Want to join the conversation?