Schlagwort: mx

  • Brownian Motion (Reloaded)

    Brownian Motion (Reloaded)

    Foreword: Processing is a flexible software sketchbook and a language for learning how to code within the context of the visual arts. In this workshop you’ll make your first steps! I took part in an online course about „Creative Coding“ – I’ll share lessons learned and assist your first steps. Install Processing beforehand. We want…

  • Sequence of Sounds

    Clip | Source

  • Parabola

    Clip | Source

  • 30 Jahre Martin Vögeli

    Ein Leben in acht Bildern:) Die Flash-Präsentation Animation | Quelle

  • Draw an Ellipse: drawEllipse()

    Clip | Source

  • Function Associated to Every Instance of a Symbol

    Clip | Source Click on the buttons left of the grey square (instances of the symbol ClpClass) and it will show or hide itself. Click on the square and it will rotate. The two functions needed are defined once in the symbol ClpClass.

  • Barber Pole

    Clip | Source

  • Define Path with Mouse and Draw Line

    Clip | Source An ActionScript Snippet Example by birdy1976 // STEP 1 // run this script and press the // mouse button to record your path var i = 0; var flagRecord = false; var flagPlay = false; var arrXPos = new Array(); var arrYPos = new Array(); // // STEP 2 // copy and…

  • Slide to Random Position on Mouse rollOver

    Clip | Source ActionScript onClipEvent (load) {   var intStageSizeX = 300;   var intStageSizeY = 300;   var fltRandomX;   var fltRandomY;   this.onRollOver = function() {     do {       fltRandomX = Math.random()*(intStageSizeX-this._width)                    +this._width/2;       fltRandomY = Math.random()*(intStageSizeY-this._height)                    +this._height/2;     } while (Math.abs(fltRandomX-this._x) < 2*this._width ||              Math.abs(fltRandomY-this._y) < 2*this._height);     this.onEnterFrame = function() {       var fltDeltaX = (fltRandomX-this._x)/4;       var fltDeltaY = (fltRandomY-this._y)/4;       this._x…

  • Circle Rotation Depending on Mouse Position

    Clip | Source The ActionScript Snippet onClipEvent (load) {   // set parameters:   // amplify the speed   var k = 0.03; } onClipEvent (enterFrame) {   // loop:   // recalculate the rotation   this._rotation = this._rotation-k*(_parent._xmouse-this._x); }