Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (138) Code (31) Doc (38) Help (2) Quark (67) SCDoc ↗ Forum ↗ Google ↗
  1. Animation of Simple Harmonic Motion by elifieldsteel (eli.fieldsteel) Code

    ... e); //waveform y-coordinate values win = Window( "Simple Harmonic Motion Animation — (spacebar to pause/unpause)", Rect(100, 100, 1020, 520) ).background_(Color.gray(0.2)).front; win.view.decorator_(FlowLayout(win.view.bounds, ...

  2. Simple animated 2D user interface by rukano (rukano) Code

    A more simple example using the shared memory interface to get the current status of a bus, and also setting a bus from the GUI. The circle turns red depending on the oscillator value, and the oscillator frequency and amplitude are control ...

  3. waveshaping animation by elifieldsteel (eli.fieldsteel) Code

    GUI animation for signal waveshaping ( //after running code, esc key to close window and abort animation ~mainRoutine = { var input, transfer, output, inputVertAxis, transferHorizAxis, win, inputView, transferView, outputView, i ...

  4. multiple wavetable animation by elifieldsteel (eli.fieldsteel) Code

    GUI animation for multiple wavetable interpolation ( //after running code, esc key to close window and abort animation var wt0, wt1, result, wt0view, wt1view, resultView, animateFn, wmean, numSteps, animate, wtIndex, win, wtPosBox, wt ...

  5. snake by elifieldsteel (eli.fieldsteel) Code

    ... (0.7)) .stringColor_(Color.gray(0.8)) .align_(\center); //when crash, stop animation and display game over & score crash = { u.animate_(false); deadbox .string_("you died\nscore: "++size) .visible_(true); }; //place snake ...

  6. Cheap Screen Saver (randomness free) by rukano (rukano) Code

    Messing around with pen, trying not to use randomness. Turned out like a 90's screen saver. w = Window("screensaver", Window.screenBounds).front.fullScreen; w.view.keyDownAction = { w.close }; u = UserView(w, w.view.bounds); u.background ...

  7. spinning doughnut by fredrik-olofsson (Fredrik Olofsson) Code

    //req. Canvas3D quark: Quarks.install("Canvas3D"); //works with both cocoa and qt GUI //see thread https://www.listarc.bham.ac.uk/lists/sc-users/msg06458.html for more examples //cmd+period to stop ( var width = 500, height = 400; ...

  8. Canvas3D used to plot realtime sound by fredrik-olofsson (Fredrik Olofsson) Code

    //--redFrik 2013 //req. Canvas3D quark //use mouse to rotate canvas //add your own sounds to x, y, z (maybe with InFeedback.ar) ( //--settings var width= 640, height= 480; var fps= 60; var buffersize= 1024; var scale= 250; var pe ...

  9. Movie without images by 56228375 (56228375) Code

    Requires supercollider 3.9dev. (But you probably can use older versions if your replace Done.freeSelf with number 2.) All sounds are synthesised - no samples are used. Some sounds I designed myself, others I reused from various tutorials, h ...

  10. Galton Board Simulator by simon (Dindoléon) Code

    https://scsynth.org/t/galton-board-sim/6202 ( var win = Window(); var display = UserView().layout_(HLayout().margins_(30)); var availableNotes = [58, 60, 61, 63, 65, 66, 68, 70].midicps; var timesNotesWerePlayed = Array.fill(available ...

1 2 3 4 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow