https://github.com/anthgrim/selfstudy_mit3
Self-study files MIT - Week 3
https://github.com/anthgrim/selfstudy_mit3
Last synced: 6 months ago
JSON representation
Self-study files MIT - Week 3
- Host: GitHub
- URL: https://github.com/anthgrim/selfstudy_mit3
- Owner: anthgrim
- License: mit
- Created: 2022-02-12T04:45:23.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-13T06:34:17.000Z (almost 4 years ago)
- Last Synced: 2025-05-19T19:53:54.316Z (8 months ago)
- Language: HTML
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Practice Javascript Coding
Notice how we load other files into our code. eg mystyles.css and ball.js. Sometimes we do this to "hide" complexity. Here we are hiding the complexity of dealing with the browser memory by putting that in ball.js.
## Projectile.html
This allows you to create balls that move under gravity. They will bounce off the walls.
Understand how to create a ball at a specific location. Also to give it a velocity that varies under gravity.
Understand how arrays are used to store lots of balls.
## Randomwalk.html
This explores how molecule move randomly.
We investigate a "sneeze"
Can you add gravity so the virus particles drop to the ground?
## Randomwalk2.html
Here we add tracking of the particles. How do we do this? It seems "wasteful" to create lots of copies of the particles. However, in the browser its the only way.
## string.html