-
... //--changing the whole main loop function. behaviour, colours and shapes ( ~win.background= Color.red; ~win.draw{ ~world.objects.do{|o, i| if(i!=0, { //o.addForceWander2D; o.addForceSeek(~world.objects.wrapAt(i-1).loc); }, { o.addForceWande ...
-
... dth-bound-bound ; doc = Document.listener.title_("Nim Chimpsky's Post Window") .background_(Color(0, 0, 0)) .stringColor_(Color(1, 1, 1)) .bounds_(Rect(50, 50, 300, 800)) ; multiField = GUI.textView.new(w, Rect(bound, step+(3*step*0.6)+(3*b ...
-
... idth, height)); var mouse, b, c; var physics; var handleBoundaryCollisions; usr.background= Color.white; physics= TraerParticleSystem.new; mouse= physics.makeParticle(1, 0, 0, 0); mouse.makeFixed; b= physics.makeParticle(1, width.rand, heig ...
-
... idth, height)); var mouse, b, c; var physics; var handleBoundaryCollisions; usr.background= Color.white; physics= TraerParticleSystem.new; mouse= physics.makeParticle(1, 0, 0, 0); mouse.makeFixed; b= physics.makeParticle(1, width.rand, heig ...
-
... if(XQ.poolNames == [], {["no pool", "no pool 2"]}, {XQ.poolNames})) .value_(1) .background_(Color.white) .action_({ arg item; var dictArray; var filepath, selStart, selEnd, soundfile, myTempBuffer; poolName = selbPool.items[item.value]; ldS ...
-
... Layout( sl = Slider().orientation_(\horizontal).maxHeight_(30), uv = UserView().background_(Color(0.1, 0.1, 0.4)) ); sl.action = SpeedLim(0.15, { |view| j = view.value; uv.refresh; }, AppClock); uv.drawFunc = { |view| var b = view.bounds.mo ...
-
... o stop //--world w= RedWindow("growth2", Rect(128, 64, width, height)).front; w.background= Color.white; wgrav= RedVector2D[0.1, 0]; //world xy gravity world= RedWorld(RedVector2D[width, height], wgrav, 99, 0); //dim,grav,maxvel,damp //--in ...
-
... to stop //--world w= RedWindow("growth", Rect(128, 64, width, height)).front; w.background= Color.white; wgrav= RedVector2D[0, 0]; //world xy gravity world= RedWorld(RedVector2D[width, height], wgrav, 99, 0); //dim,grav,maxvel,damp //--inte ...
-
... o stop //--world w= RedWindow("growth2", Rect(128, 64, width, height)).front; w.background= Color.white; wgrav= RedVector2D[0.1, 0]; //world xy gravity world= RedWorld(RedVector2D[width, height], wgrav, 99, 0); //dim,grav,maxvel,damp //--in ...
-
... to stop //--world w= RedWindow("growth", Rect(128, 64, width, height)).front; w.background= Color.white; wgrav= RedVector2D[0, 0]; //world xy gravity world= RedWorld(RedVector2D[width, height], wgrav, 99, 0); //dim,grav,maxvel,damp //--inte ...