Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6772347
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:32:20+00:00 2026-05-26T15:32:20+00:00

There are a few different ports of Box2D for JavaScript. Which one is the

  • 0

There are a few different ports of Box2D for JavaScript. Which one is the best?

  • Box2DJS – “converted from Box2DFlashAS3_1.4.3.1 in an automatic manner”

  • Box2Dflash 2.0 ported to JavaScript – “one big nasty hack that just happens to work”

  • box2dweb – “a port of Box2DFlash 2.1a to JavaScript. I developed an ActionScript 3 -to- JavaScript converter to generate the code”

  • HBehrens/box2d.js – “a JavaScript Version of Box2D 2.1a” (Added Nov 21, 2011)

  • kripken/box2d.js – “a direct port of the Box2D 2D physics engine to JavaScript, using Emscripten” (Added Sep 24, 2013)

Any ideas which version http://chrome.angrybirds.com/ uses, if any?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T15:32:21+00:00Added an answer on May 26, 2026 at 3:32 pm

    Note to readers!

    This question was originally asked and answered in 2011, but I’ll do my best to keep it up to date!

    Here’s what I’ve found:

    • kripken/box2d.js is a port of Box2D using Emscripten and works well and is fast. I have used this personally with great success.
    • planck.js is the newest port and is written from the ground-up in JavaScript
    • Box2DJS is a port of Box2DFlash 1.4.3.1. box2dweb is a port of version 2.1a.
    • Box2DJS works “as a CommonJS module without any modifications at all” [1]
    • Box2DJS “not up-to-date and you have to import a big amount of JavaScript files in every project” [2]
    • box2dweb is contained in a single file [2]
    • box2dweb is “a much newer port and has a lot fewer issues” than Box2DJS [3]. However, switching might introduce new issues [4].
    • Box2DJS depends on Prototype but box2dweb does not [5]
    • Seth Ladd has promoted box2dweb with examples on his blog [6]
    • Nobody seems to be using the third alternative.
    • There are also physics simulators not based on Box2D. Check out Matter.js and p2.js

    There’s also a similar discussion on gamedev.stackexchange.com.

    I’d say that the winner is kripken/box2d.js.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a few problems with my mod_rewrite rules. There a three different url
There are a few ways to get class-like behavior in javascript, the most common
There are a few APIs for grabbing the address book/contact list from the major
I have few DB tables, witch are build using inheritance from one table witch
It looks like there a few working solutions for using custom true type fonts
I know how to use locks in my app, but there still few things
There are a few books about specific ORM products such as Hibernate or Linq
There are a few things that I almost always do when I put a
There are a few questions on SO already regarding LINQ pivots and while a
There are a few questions about configuring Apache for local development, such as this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.