I dunno what to call this, but it’s the first idea I had when i saw this comp
_global.colour = (Math.random()*0x888888)+0x888888;
_global.numlines = 0;
_root.createEmptyMovieClip("slate_mc", 1000).onEnterFrame = function() {
this.lineStyle(5, (_global.colour), 100);
this.i--;
if (this.i<=0) {
this.i = _global.numberClips;
}
this.duplicateMovieClip("copy"+this.i, Math.max(this.i, 1)).onEnterFrame = function() {
this._alpha = this._xscale=this._yscale -= 100/_global.numberClips;
if (this._xscale<=1) {
this.removeMovieClip();
}
};
};
_root.slate_mc.i = _global.numberClips=20;
_root.slate_mc._x = _root.slate_mc._y=Stage.width/2;
_root.onMouseMove = function() {
if (_global.numlines*_global.numberClips>=3250) {
clearDraw();
}
slate_mc.lineTo(_root.slate_mc._xmouse, _root.slate_mc._ymouse);
_global.numlines++;
};
_root.onMouseDown = function() {
_global.colour = (Math.random()*0x888888)+0x888888;
clearDraw();
slate_mc.moveTo(_root.slate_mc._xmouse, _root.slate_mc._ymouse);
};
function clearDraw() {
_root.slate_mc.clear();
_global.numlines = 0;
}
nowhere near as cool as everyone else’s but anyway…