Chipmunk 6b vs. Box2D 2.1.2 Comparison
 Share
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

 
View only
 
 
Still loading...
ABCDEFGHIJKLMNOPQRST
1
Library (velocity - position iterations)Chipmunk (10*)Box2D (1-1)% to ChipmunkBox2D (5-1)% to ChipmunkBox2D (10-3)% to Chipmunk
2
SimpleTerrainCircles_10001584.042653.06167.49%3749.64236.71%6381.56402.87%
3
SimpleTerrainCircles_500767.561131.13147.37%1683.53219.34%2831.36368.88%
4
SimpleTerrainCircles_100179.51196.78109.62%301.85168.15%479.6267.17%
5
SimpleTerrainBoxes_10003136.146666.89212.58%8674.37276.59%13834.88441.14%
6
SimpleTerrainBoxes_5001142.182619229.30%2947.3258.04%4428.99387.77%
7
SimpleTerrainBoxes_100261.63398.58152.34%542.48207.35%722.81276.27%
8
SimpleTerrainHexagons_10002585.626824.5263.94%6779.07262.18%9742.88376.81%
9
SimpleTerrainHexagons_5001259.692824.14224.19%3033.76240.83%4362.48346.31%
10
SimpleTerrainHexagons_100268.2388.33144.79%519.74193.79%689.39257.04%
11
SimpleTerrainVCircles_200337.52408.03120.89%659.57195.42%1090.75323.17%
12
SimpleTerrainVBoxes_200452.24846.08187.09%1107.5244.89%1562.02345.40%
13
SimpleTerrainVHexagons_200507.11890.88175.68%1116.53220.18%1553.19306.28%
14
ComplexTerrainCircles_10001807.013032.39167.81%4245.13234.93%6908.97382.34%
15
ComplexTerrainHexagons_10003162.456450.23203.96%7892.38249.57%11636.48367.96%
16
BouncyTerrainCircles_500226.8518.89228.79%446.36196.81%484.88213.79%
17
BouncyTerrainHexagons_500273.16725.05265.43%626.75229.44%668.08244.57%
18
NoCollide7.4243.47585.85%44.15595.01%45.39611.73%
19
Total17958.2836617.43203.90%44370.11247.07%67423.71375.45%
20
All times are durations in milliseconds to run 1000 steps of the simulation at 60Hz. Run on a 2.4GHz Penyryn Core 2 Duo, GCC 4.2.1, default release build settings.* Chipmunk does not separate velocity and position iterations.Extremely spongy, objects are unable to separate themselves anymore.Notably spongier than Chipmunk at 10 iterations on all demos.Somewhere between (5-1) and (10-3) produced a similar simulation quality to Chipmunk's 10 iterations, but it's hard to say exactly. Varies from demo to demo.
21
SetContinuousPhysics(false) was set in Box2D although it's not in the docs and the header states it's "for testing". It does give a small performance boost however.
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
Loading...
 
 
 
Sheet1