-
... (win, Rect(0, 0, width, height)); var physics, anchor, springs; usr.background= Color.red; physics= TraerParticleSystem(0.1, 0.2, 0.3, 0.1); num.do{|i| physics.makeParticle(0.5, width.rand, height.rand, 0)}; anchor= physics.makeParticle(1, ...
-
... in(o); //keep within world borders //--render if(o.isKindOf(RedRock), { Pen.fillColor= Color.blue(1, 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }, { Pen.strokeColor= Color.grey(0.7, 0.9); Pen.strokeOval(Rect.aboutRedObject2D(o)); }); } } ...
-
... s.put(name, SCButton(window, Rect(7, 1 + (i*20), 16, 16)).states_([ [""], ["X", Color.black, Color.red.alpha_(0.5)]]) .action_({ |button| if(button.value == 0) { SynthTracker.release(name); } { SynthTracker(name); }; })); SCStaticText(windo ...
-
... in(o); //keep within world borders //--render if(o.isKindOf(RedRock), { Pen.fillColor= Color.blue(1, 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }, { Pen.strokeColor= Color.grey(0.7, 0.9); Pen.strokeOval(Rect.aboutRedObject2D(o)); }); } } ...
-
... : true, scroll: false ).alwaysOnTop_(alwaysOnTop); //TABS view = TabbedView .newColor( parent:window, bounds:point, labels:tabs.collect{|tab| tab.tabLabel}, name:"MiniIDE", scroll:false) .tabPosition_(\bottom) .stringColor_(Color.black) .st ...
-
... tSpan setSpanActive setDeviation increment decrement Appearance orientation knobColor Interaction step pixelStep shift_scale ctrl_scale alt_scale Actions action defaultKeyDownAction Drag and drop defaultGetDrag defaultCanReceiveDrag default ...
-
... ct(0,0,500,200)); q.pr.string_("... Republic posts here ..."); q.pr.background_(Color.grey(0.8)).stringColor_(Color.black); // example buttons ( q.butzone.remove; q.butzone = CompositeView(w, Rect(0,0,500, 20)); q.butzone.addFlowLayout(2@2, ...
-
... terns of Filtered Noise", Rect(450, 160, 480, 540)).front; win.background = Color.new255(102, 102, 102, 150); win.alpha = 0.95; // Change the gaps and margins to see how they work win.view.decorator = FlowLayout(win.view.bounds, ...
-
... o.addForceArrive(world.objects[0].loc); //--plot target for testing //Pen.strokeColor= Color.red; //Pen.strokeOval(Rect.aboutRedVector2D(trg, o.wradius)); }, { world.objects[0].loc= w.mouse; }); //o.addForce(world.gravity); //no gravity inv ...
-
... o.addForceArrive(world.objects[0].loc); //--plot target for testing //Pen.strokeColor= Color.red; //Pen.strokeOval(Rect.aboutRedVector2D(trg, o.wradius)); }, { world.objects[0].loc= w.mouse; }); //o.addForce(world.gravity); //no gravity inv ...