Does anyone know how to produce this?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
User avatar
undef
Party member
Posts: 438
Joined: Mon Jun 10, 2013 3:09 pm
Location: Berlin
Contact:

Does anyone know how to produce this?

Post by undef »

I would really like to know how this can be implemented:




Does anyone know the math which is required to do this?
twitter | steam | indieDB

Check out quadrant on Steam!
User avatar
Ref
Party member
Posts: 702
Joined: Wed May 02, 2012 11:05 pm

Re: Does anyone know how to produce this?

Post by Ref »

I think it's caledl magic (shaders).
Attachments
fluid.love
simple shader
(909 Bytes) Downloaded 152 times
User avatar
undef
Party member
Posts: 438
Joined: Mon Jun 10, 2013 3:09 pm
Location: Berlin
Contact:

Re: Does anyone know how to produce this?

Post by undef »

I'm not quite sure it's the same, but it is very pretty.
Thanks for sharing!
twitter | steam | indieDB

Check out quadrant on Steam!
Clouds
Prole
Posts: 23
Joined: Tue Nov 27, 2012 4:06 am

Re: Does anyone know how to produce this?

Post by Clouds »

I'm not sure about the first one. Initially it looked like a relatively simple color cycler but then more motion became apparent.

The second and third ones are a pretty simple "dilate" and "erode" image filter being animated over time and by an animated mask (in the second one.) LÖVE could do it with shader, or with a canvas or image pixel data, or maybe with a per-pixel mesh object.
User avatar
undef
Party member
Posts: 438
Joined: Mon Jun 10, 2013 3:09 pm
Location: Berlin
Contact:

Re: Does anyone know how to produce this?

Post by undef »

You seem to be right in both cases! Dilate/Erode it is.
I just tested it with a picture of clouds and a picture of a cat in Gimp :)

Thank you very much! I had no idea what to look for.
Maybe I'll even find the first one by experimenting with Gimp ;)

Edit:
Just found this video on vimeo as well, with a more thorough description:
The video simulates the phenomenon of texture breathing, a distinctive and beautiful effect where colours and patterns appear to spontaneously dilate, contract and ripple. The effect is produced by computing the vector derivative of a source photo then applying iterative advection along the resulting axes. A secondary scalar field controls and strength and magnitude of advection and allows a range of interesting effects including pulsing, waving and breathing.
Hmm I guess I have to look some things up...
twitter | steam | indieDB

Check out quadrant on Steam!
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 222 guests