Experimento gráfico inspirado en el uso de esta herramienta de color.
Enlaces relacionados: No related posts, | Tags:
diseño
Partiendo del boceto del perro triposo…
Enlaces relacionados: No related posts, | Tags:
diseño
Experimento gráfico partiendo de una foto de yugop y una paleta de colores de colourlovers.
Enlaces relacionados: No related posts, | Tags:
diseño
Experimento gráfico de color, partiendo de la paleta de colores de drusunlimited™ y un par de degradados B/N en “subexponer” y “sobreexponer”.
Remata una inconfundible Cooper Black, con un tratamiento bastante grosero.
Enlaces relacionados: No related posts, | Tags:
diseño
Experimento realizado con 3DStudio.
Wallpaper, ya de hace unos añitos, realizado a partir de una fotografía tomada a uno de mis coches miniatura.
Enlaces relacionados: No related posts, | Tags:
diseño
Mi versión de los tweens, usando las ecuaciones de Robert Penner.
Actionscript:
MovieClip.prototype.easeInOut = function(t:Number, b:Number, c:Number, d:Number):Number {
if ((t /= d/2)<1) {
return c/2*t*t*t*t*t+b;
}
return c/2*((t -= 2)*t*t*t*t+2)+b;
};
MovieClip.prototype.myTween = function(prop, destino, duracion) {
var dummy:MovieClip = this._parent.createEmptyMovieClip("dummy"+random(5000), this._parent.getNextHighestDepth());
este = this;
dummy.propini = this[prop];
dummy.dx = destino-this[prop];
dummy.t = 5;
dummy.duracion = duracion;
dummy.onEnterFrame = function() {
if (this.t++<duracion) {
este[prop] = este.easeInOut(this.t, this.propini, this.dx, this.duracion);
} else {
delete this.onEnterFrame;
removeMovieClip(this);
}
};
};
//Uso:
_root.onMouseDown = function() {
obj_mc.myTween("_x", _root._xmouse, 50);
obj_mc.myTween("_y", _root._ymouse, 50);
};
¿necesita alguna explicación?
Actionscript:
MovieClip.prototype.drawCircle = function(radius, x, y, col) {
var angleDelta = Math.PI/4;
var ctrlDist = radius/Math.cos(angleDelta/2);
var angle = 0;
var rx, ry, ax, ay;
this.beginFill(col, 100);
this.moveTo(x+radius, y);
for (var i = 0; i<8; i++) {
angle += angleDelta;
rx = x+Math.cos(angle-(angleDelta/2))*(ctrlDist);
ry = y+Math.sin(angle-(angleDelta/2))*(ctrlDist);
ax = x+Math.cos(angle)*radius;
ay = y+Math.sin(angle)*radius;
this.curveTo(rx, ry, ax, ay);
}
this.endFill();
};
—
Siguiente página »