Home

Awesome

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!

<a href="https://www.paypal.me/perrysmotors/5"> <img width="160" height="41" src="https://user-images.githubusercontent.com/12557727/39295119-7e115bca-4935-11e8-9fe9-802d667ac22c.png"> </a>