• Stars
    star
    134
  • Rank 270,967 (Top 6 %)
  • Language
    JavaScript
  • License
    zlib License
  • Created over 14 years ago
  • Updated about 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Optimisied fork of box2d-js with support for Springs and SVG demos

Screenshot

Demo

About this fork

The original box2d-js library is hosted on sourceforge. It seems to be currently unmaintained and uses the HTML5 Canvas element for display.

This fork has the following changes over the original:

New features

  • Spring Joint (simple version, suitable for simulation of soft bodies)

Code Optimisations

  • Removed dependency on prototype.js
  • Simple optimisations to core library
  • Avoid frequent instantiations of b2Vec2

Features in the demo

  • Use of SVGs instead of Canvas

    • Using jquery and jquery.svg
    • only create a shape for the first time, then use transformations
    • if static or sleeping then don't redraw
  • throttling of step size and inter-frame delays, to achieve a target FPS.

  • a new demo scene called drop to show off spring-joints.

More Repositories

1

abandon

😌 Simple and Robust Accounting
Scala
184
star
2

sloth

Lazy load tabs in chromium
JavaScript
80
star
3

awesome-eclipse

List of awesome plugins and other resources for eclipse
25
star
4

inter-wow

A visual technique for screening / interviewing programmers
Java
18
star
5

javafxDatePicker

A Date Picker widget for Java FX
Java
13
star
6

feedgin

Feeds converted to messages in Pidgin using DBus
Python
12
star
7

vim-DrawIt

pathogen bundle of DrawIt plugin by DrChip
Vim Script
11
star
8

t-flif

Tiled FLIF
Scala
7
star
9

gae_tx_test

GAE transaction tests
Java
4
star
10

trackMe

A secure and open tracker for mobile devices
Java
3
star
11

bookmarklet-grab-images

A bookmarklet to grab images
JavaScript
3
star
12

vaadin-scala-chat

A simple chat application built with Vaadin and Scala
Scala
3
star
13

Jigsaw

A simple Jigsaw game from Flickr photos; uses SVG
JavaScript
2
star
14

gl_test_nexus10

An OpenGL Test case for the Nexus 10
Java
1
star
15

abandon-reports

PDF report generator for abandon
Scala
1
star
16

throb

parser combinators that can complete your input
Scala
1
star
17

bzr_check_permission

Bazaar plugin to check write permissions to files / directories
Python
1
star
18

skeye-api-sample-app

A sample app that uses SkEye API
Java
1
star
19

collage

Simple tool to create a collage of images in PDF format
Scala
1
star
20

tdash

tDash : Twitter Dashboard
Scala
1
star
21

obj_viewer

Simple wavefront .obj file viewer
C++
1
star
22

security-manager-template

a template for enabling the security manager in JVM apps
Java
1
star
23

SchemaEditor

Sample code for an Eclispe GEF based Editor
Java
1
star
24

scala.unfold

Gentle Introduction to Scala
1
star
25

vim-adtConceal

Unicode glyphs for ADT files using Vim's conceal feature
Vim Script
1
star
26

mesopia

Preserve your mesopic vision
1
star
27

sparse-pyramid-flif

A placeholder for the work done in storing tiled FLIFs in a sparse pyramid
JavaScript
1
star
28

SafeNet

Safe Internet for Android
1
star