Schlagwort: zufall

  • 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…

  • 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…