Skip to content
A module for adding 2D physics simulations to your Framer prototypes.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
module files
LICENSE
README.md

README.md

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!

You can’t perform that action at this time.