/framer-physics

A module for adding 2D physics simulations to your Framer prototypes.

Primary LanguageCoffeeScriptMIT LicenseMIT

framer-physics

A module for adding 2D physics simulations to your Framer prototypes.

Based on Coffee-Physics by Justin Windle (a.k.a. soulwire) ‘A simple, lightweight physics engine written in CoffeeScript’

Read the article on Medium

physics-gif

Examples

Attraction

Gravity

Installation

Drag the contents of the module files folder to the modules folder of your Framer project.

Syntax

Import module:

{Integrator, Euler, ImprovedEuler, Verlet, Particle, Physics, Vector, Spring, Behaviour, Attraction, Collision, ConstantForce, EdgeBounce, EdgeWrap, Wander, Gravity} = require 'coffeePhysics'

If you are using this module, please 'star' the project. It's a simple way to help me see how many people are using it.

If you love this module, why not shout me a coffee ☕️ via PayPal to share the love!