Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (394) Code (59) Doc (78) Help (6) Quark (250) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Animation of Simple Harmonic Motion by elifieldsteel (eli.fieldsteel) Code

    ... nt; win.view.decorator_(FlowLayout(win.view.bounds, 10@10, 10@10)); cview = UserView(win.view, 1000@500).background_(Color.gray(0.25)); cview.drawFunc_({ |v| var center, newcenter, x, y; //dividing line between circles/wavef ...

  2. Command-line SC utility for MIDI clock out by 0-cM (jamshark70) Code

    ... or.white), tempoCtlView = View().minWidth_(400), nil )), beatView = UserView().fixedHeight_(100) ); deviceMenu .items_(devices) .background_(vBack) .stringColor_(Color.white) .action_({ |view| if(device.notNil) { mi ...

  3. Re: Recursion-toy-like vines with Pen by vividsnow (vividsnow) Code

    ... )", Rect(10, 10, 700, 700)); win.onClose = { r.fReset; run = false; }; view = UserView(win, 700@700).drawFunc_({ r.fUpdate }).clearOnRefresh_(false).mouseDownAction_({ |v,x,y| view.clearDrawing; r.fReset; r.fSpawn(x,y) }); win.front; { ...

  4. Poussière : standalone dust generator (uncommented version of luce) by simon (Dindoléon) Code

    ... ow_size[0], window_size[1]), false); win.background_( frame_color ); slider = UserView( win, Rect( margin, margin, window_size[0] - ( margin * 2 ), window_size[1] - ( margin * 2 ) )); slider.drawFunc = { Pen.width = stroke_size; Pe ...

  5. Granular display by tommaisey (tommaisey) Code

    ... fileView = SoundFileView().readFile(soundFile).gridOn_(false); grainView = UserView().resize_(5); window.layout = StackLayout(fileView, grainView).mode_(\stackAll).index_(1); window.onClose = {p.stop}; window.front; // Where in ...

  6. Scale Listener by simon (Dindoléon) Code

    ... w = Window.new( "Scale Listener", Rect.new( 0, 0, 1500, 700 ) ); var subview = UserView.new( view, Rect( 0, 0, view.bounds.width, view.bounds.height * 0.2 * all_groups.size ) ); var slider = Slider.new( view, Rect( view.bounds.width * 0 ...

  7. Damped Driven Double Pendulum Sonification and Visualization by xavieredavenport (xavieredavenport) Code

    ... = 820, w = Window("Double Pendulum", Rect(99, 99, width, height), false), u = UserView(w, Rect(0, 0, width, height)); u.clearOnRefresh = true; u.background = Color.white; w.front; u.frameRate = 40; u.animate = true; CmdPeriod.doOn ...

  8. Radial loudness meter by snappizz (snappizz) Code

    ... [ \in, ~loudbus, \shortRate, 15, \longRate, longSize / 60 ]); canv = UserView(w, Rect(0, 0, size, size)); canv.background_(Color.black); canv.drawFunc_ { var center, wedge; center = size@size * 0.5; wedge = { |l1, l2, c ...

  9. Looping Station by rukano (rukano) Code

    ... ance.stop } }; metronome.display = 4.collect{ StaticText(win, (15@10)); UserView(win, (30@30)).background_(Color.red(0.25)) }; StaticText(win, (15@10)); StaticText(win, (800@10)); layout.nextLine; 4.do{ |i| StaticText(win, (2 ...

  10. Scanned Synthesis Visualisation by matthew-kane (Matthew Kane) Code

    ... 0,800,600),server:s); window.front; CmdPeriod.doOnce({window.close}); view = UserView(window, window.bounds); view.background = Color.white; view.resize = 5; view.drawFunc = { |view| var jumpwidth = view.bounds.width / (~numspring ...

prev 1 2 3 4 5 6 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow