From 48940088df15335c3b2a200ffc9ca84c84bb2913 Mon Sep 17 00:00:00 2001 From: liabru Date: Thu, 6 Jul 2017 21:53:31 +0100 Subject: [PATCH] tweaked Example.doublePendulum --- examples/doublePendulum.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/doublePendulum.js b/examples/doublePendulum.js index 70dec15..24240ea 100644 --- a/examples/doublePendulum.js +++ b/examples/doublePendulum.js @@ -60,7 +60,7 @@ Example.doublePendulum = function() { world.gravity.scale = 0.002; Composites.chain(pendulum, 0.45, 0, -0.45, 0, { - stiffness: 1, + stiffness: 0.9, length: 0, angularStiffness: 0.7, render: { @@ -72,7 +72,7 @@ Example.doublePendulum = function() { bodyB: pendulum.bodies[0], pointB: { x: -length * 0.42, y: 0 }, pointA: { x: pendulum.bodies[0].position.x - length * 0.42, y: pendulum.bodies[0].position.y }, - stiffness: 1, + stiffness: 0.9, length: 0, render: { strokeStyle: '#4a485b'