Skip to content
A project done in C++. Utilizes FLTK library.
C++ C
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Ball.cpp
Ball.h
Ball.o
Box.cpp
Box.h
Box.o
Object3D.cpp
Object3D.h
Object3D.o
README.md
Trap_Box.cfg
Trap_Box.cpp
Trap_Box.exe
Trap_Box.o
trackball.c
trackball.h

README.md

Trap_Box

Project: Trap_Box || Version: 1.0 || Creator: Jemmy Zhou

Running instructions: Trap_Box.exe Trap_Box.cfg

Description:

A 3D GUI created in the language of C++. Using the FLTK library, this gui demonstrates elastic collisions between balls trapped inside a cube box. Initially there is only a wired box, until the user clicks "Add Ball" This continues until the maximum number of balls has been reached. This number is set in the Trap_Box.cfg file. In addition the size of each ball can be controlled via the Trap_Box.cfg file. Once created, the balls flow towards the center of the cube and once inside the box, it cannot leave--hence Trap Box.

Date of Creation: 1.16.2017

You can’t perform that action at this time.