-
TestJSONlib : UnitTest { // encoding tests test_objectEncode { var o = (\foo: (\bar: "baz")); var j = JSONlib.convertToJSON(o); this.assertEquals(j, "{ \"foo\": { \"bar\": \"baz\" } }"); } test_objectStringKeysEncode { var o = ("foo": "bar" ...
-
... tps://david-dm.org/jaredhanson/utils-merge) Merges the properties from a source object into a destination object. ## Install ```bash $ npm install utils-merge ``` ## Usage ```javascript var a = { foo: 'bar' } , b = { bar: 'baz' }; merge(a, ...
-
... 2D[0, 0.01]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.01); //--objects {|i| var loc= RedVector2D[i.linlin(0, n-1, 0, width), height*0.5]; var vel= RedVector2D[0, 0]; var acc= RedVector2D[0, 0]; var obj= RedObject(world, loc ...
-
... tor2D[0, 0]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.01); //--objects {|i| var loc= RedVector2D[i.linlin(0, n-1, 0, width), height*0.5]; var vel= RedVector2D[0, 0]; var acc= RedVector2D[0, 0]; var obj= RedObject(world, loc ...
-
... nstalled Instr * __Patch__ — an Instr player * __Player__ — class framework for objects that play. manages loading of resources, includes support for sound file recording and saving object state to file. * __extended Spec system__ — extende ...
-
... type); GUI.dragBoth.new(~midiControlFlow, Rect(0, 0, 30, 20)) .align_(\center) .object_(mc).string_(mc.ccnum.shortName) .beginDragAction_({ |drag| drag.object }) .action_({ |drag| try { drag.string_(mc.ccnum.shortName) } }); mc => CC.prNew( ...
-
... 2D[0, 0.01]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.01); //--objects {|i| var loc= RedVector2D[i.linlin(0, n-1, 0, width), height*0.5]; var vel= RedVector2D[0, 0]; var acc= RedVector2D[0, 0]; var obj= RedObject(world, loc ...
-
... { ^that }); } // this is returned by default } + Symbol { isSymbol { ^true }} + Object { isSymbol { ^false } shallowCopyItems { ^this.shallowCopy } <!! { ^this } } + Dictionary { // shallowCopy copies everything except kernel objects like f ...
-
... type); GUI.dragBoth.new(~midiControlFlow, Rect(0, 0, 30, 20)) .align_(\center) .object_(mc).string_(mc.ccnum.shortName) .beginDragAction_({ |drag| drag.object }) .action_({ |drag| try { drag.string_(mc.ccnum.shortName) } }); mc => CC.prNew( ...
-
// nanoKontrol interface objects var saveSubtype = AbstractChuckArray.defaultSubType; var parentEnvir = currentEnvironment; /** Chucklib-livecode: A framework for live-coding improvisation of electronic music Copyright (C) 2018 Henry James ...