Programmiersprachen für Audio, Proseminar Medienverarbeitung I - Audio, WS.99/00, Stefan Reich, Oliver Leistert. |
[Teil II: Spezielle Audio-Programmiersprachen]
|
var f, h=0, v=0; f = { var w, b; w = GUIWindow.new("panel", Rect.newBy( 65+h, 78+v, 124, 90 )) .backColor_(rgb(222,142,115)); b = ButtonView.new( w, Rect.newBy( 29, 24, 64, 34 ), "NEW", 0, 0, 1, 0, 'linear') .backColor_(rgb(230,232,149)); b.action = { h = (h + 82) % 500; v = (v + 82) % 300; f.value; }; }; f.value; |