Commit c342934d by Arjun Jhukal

updated the color

parent 17acb0de
...@@ -367,7 +367,7 @@ jQuery(document).ready(function () { ...@@ -367,7 +367,7 @@ jQuery(document).ready(function () {
var point = composite.particles[i]; var point = composite.particles[i];
ctx.beginPath(); ctx.beginPath();
ctx.arc(point.pos.x, point.pos.y, 1.3, 0, 2 * Math.PI); ctx.arc(point.pos.x, point.pos.y, 1.3, 0, 2 * Math.PI);
ctx.fillStyle = "#fff"; ctx.fillStyle = "#ddd";
ctx.fill(); ctx.fill();
} }
}; };
......
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
PinConstraint.prototype.draw = function (ctx) { PinConstraint.prototype.draw = function (ctx) {
ctx.beginPath(); ctx.beginPath();
ctx.arc(this.pos.x, this.pos.y, 6, 0, 2 * Math.PI); ctx.arc(this.pos.x, this.pos.y, 6, 0, 2 * Math.PI);
ctx.fillStyle = "#fff"; ctx.fillStyle = "#ddd";
ctx.fill(); ctx.fill();
}; };
function AngleConstraint(a, b, c, stiffness) { function AngleConstraint(a, b, c, stiffness) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment