1.0.16 • Published 3 years ago

physics-engine.js v1.0.16

Weekly downloads
16
License
ISC
Repository
github
Last release
3 years ago

physics-engine.js

Overview

-Front end library for creative UI.

-Combines the functionality of Matter.js, with particle.js.

-No use of libraries for better modularization and new algorithms with better time/space complexity.just pure javascript, and no dependencies.

  • better performence over Matter.js
  • better flexibility with shape, lines, and colors/gradience of particles.

-Customizable laws of physics and structure including:

  • gravity
  • weight/density
  • terminal velocity
  • flexibility
  • amount of external force
  • momentum

How to use

  1. npm install physics-engine.js (target file is "physics.js")
  2. there is a straight forward and easy explanation commented throughout the file(physics.js)
  3. repo linked below contains very simple example of front-end using this library. it is the same repo you see in the demo.
  4. download it and try yourself!
  5. please leave a star if you liked my work, I've put in a lot of work, and it means lot to me.

Demo

PE demo

Repo

Connect with me!

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.0

3 years ago