Skip to content

JavaScript that allows to add ball animations in any container, javascript handles the impacts between the balls and on the edges.

Notifications You must be signed in to change notification settings

Javlo/BallImpact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ballimpact.js

JavaScript that allows to add ball animations in any container, javascript handles the impacts between the balls and on the edges.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

include :

<script src="ballimpact.js" type="text/javascript"></script>
<link href='style.css' rel='stylesheet' type='text/css' />

init sample :

<script>
	window.addEventListener("load", function(event) {     
		var balAnimation1 = new BallAnimation("#zone1", 6, 20, 1);
		var balAnimation2 = new BallAnimation("#zone2", 12, 10, 1);
	});
</script>

Prerequisites

nothing

Versioning

1.1

Authors

  • Patrick Vandermaesen - Java/Javascript Deleloper

License

This project is licensed under the MIT License

About

JavaScript that allows to add ball animations in any container, javascript handles the impacts between the balls and on the edges.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published