A downloadable tool

Buy Now$10.00 USD or more

# CollideJs

Watch and tune collisions of the objects.

Written in modern JavaScript.

Simple and clean codebase.

Full source code + minified code.

## Minified

- Input: 12.57 kB

- Output: 7.01 kB

- Compression: 44.23%

- Saving: 5.56 kB

## Parameters

- id (idCanvas):     Canvas id on your page

- width  (1024):     Width of the app

- height (800):      Width of the app

- speed (1):         Speed of the app

- maxObjects (500):  Max objects in the app

- explosions (1):    Rate of explosions

- size (1):          Size of the objects

- rebornRate (0.1):  Time [ms] for new objects

## Usage

Simply add these to your website:

```

...

<canvas id="idCanvas"> ... No support for canvas ... </canvas>

...

<script src="collidejs-minified.js"> </script>

<script> window.collideJs({id: "idCanvas", width: 1024, height: 800}); </script>

</body>

</html>

```

## License

MIT

Purchase

Buy Now$10.00 USD or more

In order to download this tool you must purchase it at or above the minimum price of $10 USD. You will get access to the following files:

CollideJs-1.0.zip 87 kB
CollideJs-1.1.zip 100 kB
CollideJs-1.2.zip 100 kB

Leave a comment

Log in with itch.io to leave a comment.