Skip to content

jim-tooker/ballcollide

Repository files navigation

Ball Collision Simulator

(Package ballcollide)

This package simulates the elastic, inelastic, or partially elastic collisions between two balls using the VPython library. It contains modules to define the physical and visual properties of the balls, perform the simulation, and visualize the collision in a 2D space.

  • Modules:

    • ball_collision_sim: The main module that runs the system. It manages the entire simulation process, including initialization, running the simulation, and handling collisions.
    • ball_sim_enums: Contains enums used by the system.
    • ball_sim_parameters: Contains classes to store parameter data needed by the system.
    • ball_sim: Contains the Ball class which represents the balls in the system.
    • ball_sim_info: Contains classes to hold info/state of the system.
    • tests: Tests for the Ball Collision Simulator system.

Documentation

For detailed API documentation, see: Ball Collision Simulator API Documentation