-
... Size bounds free scalesWhenResized url interpolation saving and archiving write rendering plot draw drawStringAtPoint drawAtPoint drawInRect tileInRect Instance Methods / accessing and setting pixels setPixel getPixel setColor getColor pixe ...
-
... SCImage ** // SCImage.filters provides a way to set up filters to apply in the rendering chain // this can be useful to modify in RT some filter properties // but they won't be processed in place, they will be computed at each rendering // ...
-
... [\freq, freq, \maxDur, osize, \amp, amp, \pan, pan]); }); world.contain(o); //--render Pen.strokeColor= Color.grey(o.mass/4, 0.7); Pen.strokeOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); })
-
... vel.asPoint.rotate(0.5.rand2).asRedVector2D; o.update; world.contain(o); }; //--render all objects world.objects.do{|o, i| //iterate all objects in this world Pen.addRect(Rect.aboutRedObject2D(o)); }; Pen.stroke; }; w.play; CmdPeriod.doOnce ...
-
... [\freq, freq, \maxDur, osize, \amp, amp, \pan, pan]); }); world.contain(o); //--render Pen.strokeRect(Rect.aboutRedObject2D(o)); Pen.fillRect(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); })
-
... are set. . compile compile the SCImageKernel object (and cache it). NOTE: when rendered the first time, the kernel object is always compiled first. If you plan to change the shader string after, you must explicitely compile it to make it e ...
-
... ts.do{|p| if(p!=o, { o.couple(p); }); }; }; world.objects.do{|o| o.update}; //--render Pen.width= 5; Pen.strokeColor= Color.black; Pen.fillColor= Color.white; world.objects.do{|o| var p, x, y; p= o.loc.asPoint; Pen.addOval(Rect.aboutPoint(p ...
-
... }); list.addFirst([~leftObj.loc[0], ~rightObj.loc[0]]); //store x positions //--render Pen.strokeColor= Color.red; Pen.line(~leftObj.loc.asPoint, leftWall.loc.asPoint); Pen.line(~rightObj.loc.asPoint, rightWall.loc.asPoint); Pen.stroke; Pen ...
-
... otation+0.07; o.size= nl*15; o.addForce(force); o.update; world.contain(o); //--render Pen.fillColor= dict.color; Pen.fillOval(Rect.aboutRedObject2D(o)); Pen.stringAtPoint(dict.name, o.loc.asPoint+Point(-10, 10), font.size_(o.size)); Pen.st ...
-
... m CSS styles customization and themes See also: Writing Help , SCDoc , SCDocHTMLRenderer Documentation rendered HTML reads the global style from scdoc.css , but also reads frontend.css and custom.css (in that order) if available. This is to ...