-
... ted by a vibrating surface. Class Methods Ball. ar ( in: 0.0 , g: 1 , damp: 0 , friction: 0.01 ) Ball. kr ( in: 0.0 , g: 1 , damp: 0 , friction: 0.01 ) Arguments: in modulated surface level g gravity damp damping on impact friction proximit ...
-
... c; //initialize to start pos var <>name; var <>channel; // var <>gravity; var <>friction; // var <dAzimuth,<dElevation; // width for extended objects var <preserveArea; // for extended objects var <present; *new {|world, loc, vel, accel, ma ...
-
... r fillcolor, strokecolor; var posNegX, posNegY; var xDistance, yDistance; var <>friction, restlessness, <>restlessSeed; var xAway, yAway; var chooseNewTargetCounter; var energy, biteFlag, aggr; *new { | point, stageRect, preyArray | ^super. ...
-
... hes) Radius (for spheres) Velocity Acceleration Force Mass Density Color Static Friction Dynamic Friction Class Methods . new Creates a new GUI instance. Arguments: dimple DIMPLE instance to control Returns: A DimpleGUI instance Inherited c ...
-
... ph shape preserveArea dAzimuth dElevation present remove Physical Model gravity friction vel addVel velSph accel accelSph Motion motion setMotion stop Inherited instance methods Classes (extension) | Libraries > 3Dj'>3Dj SSObject Extension ...
-
... r <>fwd, <>back, <>rotLeft, <>rotRight, <>instance; var <>arrive, <>rotation, <>friction = 0.6, >motionAmount = 1.6, >rotationAmount= 0.01pi; *new{ arg world, position= RealVector2D[15,15], radius = 0.2, mass = 0.05, velocity = RealVector2D ...
-
... ation' (rotation matrix), 'force' (x,y,z), 'mass', 'density', 'color' (r,g,b), 'friction/static', and 'friction/dynamic'. Properties that you can set are 'visible' (0 or 1), 'collide' (0 or 1) - sends a osc message when collisions occur (so ...
-
... leSpeed = 0.005; var paddleMaxSpeed = 0.02; var paddleMovements = [0,0]; var friction = 1.15; var width = 600, height = 700; var ballPosition = Point(width/2, height/2); var ballSize = 10; var ballXMovement = rand2(1.5); var ballYMo ...
-
//objects shoot out off each other. with friction and world damping to compensate. ( var width= 300, height= 300, w, wgrav, world, n= 18; //--world w= RedWindow("bounce test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[-0.1, 0. ...
-
//objects shoot out off each other. with friction and world damping to compensate. ( var width= 300, height= 300, w, wgrav, world, n= 18; //--world w= RedWindow("bounce test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[-0.1, 0. ...