Skip to content
This repository has been archived by the owner on Aug 24, 2018. It is now read-only.

Danny Vail #75

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Danny Vail #75

wants to merge 9 commits into from

Conversation

d-vail
Copy link

@d-vail d-vail commented Jul 11, 2018

Python OOP Toy

Day 1 & 2

Fill out the stubs in ball.py to extend the functionality of the ball class

  • BouncingBall
  • RainbowBall
  • BouncingRainbow

Stretch Goals

Implement simple physics to enable balls to bounce off of one another, or off of blocks

  • KineticBall
  • KineticBouncing
  • AllTheThings

d-vail added 9 commits July 11, 2018 19:45
- Modify darw.py -- replaced variable name in for loops involving object_list
- TODO: utilize friction to make ball lose momentum -- right now it gets lower and lower but it does not ever stop
- inherits from rainbow and bouncing ball
- TODO: add friction
- Implemented 2d elastic collision
- TODO: changing mass by radius causes sporadic collision issues. why?
- inherits from kinetic ball and bouncing ball
- AllTheThings inherits from rainbow bouncing ball and kinetic ball
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant