Giter VIP home page Giter VIP logo

physics's Introduction

Physics

See the project page for most up-to-date information.

physics's People

Contributors

jared314 avatar jonobr1 avatar skratchdot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

physics's Issues

breaker is undefined

Hi,
you missed the variable 'breaker' while copying parts of underscore.js. This causes physics to fail in browsers that do not support the native forEach function.

if (i in obj && iterator.call(context, obj[i], i, obj) === breaker) return;

Particles with size

What about add width & height to particles? Beside changes in distance calculation, what other changes would be required?

Include build instructions with source

Hello,

I think I have an issue, but I'd like to test with a built version of source code. I imagine you just run r.js on the src, but I was wondering if you could include build instructions with configuartion so my built source code looks exactly like yours does.

I poked around the repo and I don't see anything.

Thanks.

bounds

hi,

ive started using your Physics lib to take advantage of the spring functionality and because its so light
weight. normally ive used box2d which has the ability to set the bounds so the particles can be contained within the screen.

what do you recommend as being the best way of containing particles within the screen with Physics?

just thought id ask first in case you have a good solution to this...

cheers in advance!

Combination with TwoJS

Hi Jono, I was wondering if it would be possible to combine this with twoJS? I am just getting started with these libraries - and JS development for that matter - and I would love to know if this would be possible!

Thanks!
I

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.