Román Cortés

Animating Van Gogh

27 de Julio del 2008

Starry Night by Van Gogh

(versión en castellano abajo)

Have you ever wonder how a Van Gogh’s paint would look animated? To ask the question, I’ve developed a new 2d effect I call liquid paint and you can try it here.

The usage is simple: draw lines with your mouse over the image following the paths created by the paint’s strokes.

This is the ActionScript 3 port of the liquid paint effect. Due the heavy speed optimizations done to make the effect work smooth enough, the source code is a mess, but if you want to take a look here it is. I have to thank again Mr. Doob for his support and for teaching me the basis of AS3 coding.

Castellano

¿Has pensado alguna vez cómo sería un cuadro de Van Gogh en movimiento? Para responder a la pregunta, he desarrollado un nuevo efecto 2d al que llamo pintura líquida y puedes probarlo aquí.

Su funcionamiento es simple: dibuja líneas con el ratón sobre la imagen, siguiendo los trazos creados por las pinceladas del cuadro.

Esta es la versión en ActionScript 3 del efecto. Debido a la optimización en velocidad requerida para que funcione a una velocidad razonable, el código es desordenado y confuso, pero si te interesa puedes echarle un vistazo aquí. Agradezco de nuevo a Mr. Doob su apoyo y el enseñarme la base de AS3 para poder realizar este tipo de efectos.

Voxel head in flash

22 de Julio del 2008


(versión en castellano abajo)

Mr. Doob, a Flash expert and a great graphic designer shown me some days ago some voxel experiments he was doing with Actionscript 3. I have very few idea (nothing at all) of Flash, but I remembered some voxel head renderer I did years ago as a Windows executable and thought it could be done with a reasonable speed in Flash too. So, I asked Mr. Doob if he wanted to help me with the port, and here it is.

It is medical data, a CT scan I got here. It was resampled to 512×512x512 and then coloured with radiosity. It looks a bit creepy in the mouth; these spikes are interferences caused by the tooth.

You can see the source code here.
Read the article Mr. Doob wrote about our creation.

Español

Mr. Doob, experto en Flash y genial diseñador gráfico, me mostró hace unos días unos experimentos de voxels con Actionscript 3 en los que estaba trabajando. Yo apenas se nada de Flash, pero recordé un renderizador de voxels que hice como ejecutable Windows hace años, y pensé que se podría portar y conseguir una velocidad razonable. Se lo comenté a Mr. Doob, y aquí lo tenéis.

Los datos son médicos, un tac que encontré aquí. Lo redimensioné a 512×512x512 y lo coloreé con un algoritmo de radiosity para voxels. Se que da un poco de miedo, pero los agujeros y salientes cercanos a la boca son sólo distorsiones producidas por los dientes en el tac.

El código fuente está disponible aquí.