/** * Joints * * by Ricard Marxer * * This example shows how to access all the joints of a given body. */ import fisica.*; FWorld world; color bodyColor = #6E0595; color hoverColor = #F5B502; int spiderCount = 10; int mainSize = 40; int legCount = 10; float legSize = 100; ArrayList mains = new ArrayList(); void setup() { size(400, 400); smooth(); Fisica.init(this); world = new FWorld(); world.setEdges(); world.setGravity(0, 0); for (int i=0; i