Repository for Ideas & Research
Open Source GIS, Hydrologic Modeling, Optimization

Elastic collision

This JavaScript program simulates a ball bouncing in a dual-gravity environment where acceleration can be set by the user in the horizontal (ax) and vertical (ay) directions. Changing ax or ay will take an immediate effect.

Program:Elastic collision
Purpose:Demonstration of a bouncing ball in a dual-gravity environment
Author:Huidae Cho
Copyright:(C) 2017, 2019, Huidae Cho <>
License:GNU Affero General Public License v3

Model parameters: acceleration in x (ax) and y (ay)