-
... { defList = defList.add(this.asClass); key = "SC-HOA"; } getFunc { | maxOrder, renderer, nChanns | if (nChanns == 1) { ^{ | lrevRef, p, rad, radRoot, azimuth, elevation, contract | var sig = distFilter.value(p.value, rad); // attenuate hig ...
-
... { defList = defList.add(this.asClass)}; key = "HoaLib"; } getFunc { | maxOrder, renderer, nChanns | if (nChanns == 1) { ^{ | lrevRef, p, rad, radRoot, azimuth, elevation, contract | var sig = distFilter.value(p.value, rad); // attenuate hig ...
-
... ok. Some stuff and mantainance by Andrea Valle superclass: Object NB writes and renders NodeBox code and has equivalents for all commands in the NodeBox API. NodeBox is an open source drawing program for rendering images (png, jpg, gif, tif ...
-
... ]; points[i].update; o.addForce(world.gravity); o.update; world.contain(o); //--render points[i].render(2, 150); //1= exaggerate, 2= standard Pen.use{ Pen.translate(o.loc[0], o.loc[1]); points[i].draw; }; }; }; w.play; CmdPeriod.doOnce({w.c ...
-
... cess format { ^format; } *initClass{ format = \FUMA; } prSetBusses { | effects, renderer | busses = [effects.gBfBus, renderer.fumaBus]; fxOutFunc = { | dry, wet, globFx, fxBus | Out.ar(fxBus, wet * globFx); // effect.gBfBus }; } }
-
... ccess format { ^format; } *initClass{ format = \N3D; } prSetBusses { | effects, renderer | busses = [effects.gBxBus, renderer.n3dBus]; fxOutFunc = { | dry, wet, globFx, fxBus | Out.ar(fxBus, wet * globFx); // effect.gBxBus }; } }
-
... ypercubes[i].update; o.addForce(world.gravity); o.update; world.contain(o); //--render hypercubes[i].render(2, 150); //1= exaggerate, 2= standard Pen.use{ Pen.translate(o.loc[0], o.loc[1]); hypercubes[i].drawOutlines; hypercubes[i].drawSurf ...
-
... ]]; boxes[i].update; o.addForce(world.gravity); o.update; world.contain(o); //--render boxes[i].render(2, 50); //1= exaggerate, 2= standard Pen.use{ Pen.translate(o.loc[0], o.loc[1]); boxes[i].drawSurfaces; boxes[i].drawOutlines; }; }; }; w ...
-
... 2]; lines[i].update; o.addForce(world.gravity); o.update; world.contain(o); //--render lines[i].render(1.25, 250); //1= exaggerate, 2= standard Pen.use{ Pen.translate(o.loc[0], o.loc[1]); lines[i].drawOutlines; }; }; }; w.play; CmdPeriod.do ...
-
NB has two general ways to write code to NodeBox-readable/renderable files.\ \ Example 1: publishing = true \ \ A 'publishing' instance variable (by default) is initialized during creation of NB objects to true. Each line of code writes by ...