Old 15th December 2008, 04:51   #1
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
First preset

My first attempt in presets. Electrowater - using blur code from Geiss.
Amandio C is offline   Reply With Quote
Old 15th December 2008, 05:03   #2
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
here is the file

.
Attached Files
File Type: milk amandio c - electrowater (geiss blur code).milk (6.2 KB, 1022 views)
Amandio C is offline   Reply With Quote
Old 15th December 2008, 21:16   #3
Cope
Senior Member
 
Cope's Avatar
 
Join Date: Jul 2008
Location: Germany
Posts: 149
Nice effect Milkdrop has a bit of a learning curve since the shaders were added, so if you have any questions ask away.

And welcome to the boards, looking forward to seeing more
Attached Files
File Type: milk amandio c + cope - electrowater (geiss blur code) .milk (6.5 KB, 776 views)

Murphey's fighting Occam, and I'm in the stands.
Cope is offline   Reply With Quote
Old 16th December 2008, 23:21   #4
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
Thank you

Thank you Cope, I will. Nice effect your remix. Would it be possible to simulate raindrops? Just a few, say 1,2 per sec.
Amandio C is offline   Reply With Quote
Old 16th December 2008, 23:43   #5
Flexi
wellspring of milk
Major Dude
 
Flexi's Avatar
 
Join Date: Apr 2007
Location: 54.089866,12.11168,18.75
Posts: 2,055
Send a message via ICQ to Flexi
Flexi is offline   Reply With Quote
Old 17th December 2008, 00:07   #6
Cope
Senior Member
 
Cope's Avatar
 
Join Date: Jul 2008
Location: Germany
Posts: 149
I've given that some thought before but I haven't figured it out yet. Maybe flexi or martin could look into it

heh... speak of the devil

Murphey's fighting Occam, and I'm in the stands.
Cope is offline   Reply With Quote
Old 19th December 2008, 23:16   #7
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
Electrowater - rainy

Raindrops simulated with a shape.
Amandio C is offline   Reply With Quote
Old 19th December 2008, 23:17   #8
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
Here is the file

Here is the file.
Amandio C is offline   Reply With Quote
Old 20th December 2008, 07:44   #9
Flexi
wellspring of milk
Major Dude
 
Flexi's Avatar
 
Join Date: Apr 2007
Location: 54.089866,12.11168,18.75
Posts: 2,055
Send a message via ICQ to Flexi
spam protection.
write some more posts and then you will be able to post links

Amandio C - Electrowater - rainy (Geiss blur code).milk
Flexi is offline   Reply With Quote
Old 23rd December 2008, 03:57   #10
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
2 new presets, with use of Flexi's code.
http://www.amandioc.com/subwebs/Three_Citrus.zip
Amandio C is offline   Reply With Quote
Old 23rd December 2008, 12:10   #11
Flexi
wellspring of milk
Major Dude
 
Flexi's Avatar
 
Join Date: Apr 2007
Location: 54.089866,12.11168,18.75
Posts: 2,055
Send a message via ICQ to Flexi
Quote:
Originally posted by Amandio C
2 new presets, with use of Flexi's code.
http://www.amandioc.com/subwebs/Three_Citrus.zip
Flexi is offline   Reply With Quote
Old 14th January 2009, 23:27   #12
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
3 new presets
Amandio C is offline   Reply With Quote
Old 14th January 2009, 23:30   #13
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
here is the file.
Attached Files
File Type: zip amandio_c_-_3_presets.zip (4.7 KB, 724 views)
Amandio C is offline   Reply With Quote
Old 15th January 2009, 10:38   #14
Flexi
wellspring of milk
Major Dude
 
Flexi's Avatar
 
Join Date: Apr 2007
Location: 54.089866,12.11168,18.75
Posts: 2,055
Send a message via ICQ to Flexi
nice presets again. they bring some fresh accents
Flexi is offline   Reply With Quote
Old 16th January 2009, 03:30   #15
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
Thank you Flexi. You are doing wonderful work here.
Amandio C is offline   Reply With Quote
Old 16th January 2009, 19:03   #16
Nitorami
Major Dude
 
Join Date: Mar 2008
Location: Erlangen
Posts: 811
Yeah, it's time to give some credits to Flexi. He's truely the heart and soul of this forum
Nitorami is offline   Reply With Quote
Old 17th January 2009, 05:44   #17
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
Remix of "small life".
Attached Files
File Type: milk amandio c - small life (goes disco).milk (5.6 KB, 680 views)
Amandio C is offline   Reply With Quote
Old 17th January 2009, 07:42   #18
Stahlregen
Senior Member
 
Join Date: Feb 2008
Posts: 218
Great use of shapes.

I also like that you have some really unique visuals there. Keep up the good work!
Stahlregen is offline   Reply With Quote
Old 17th January 2009, 11:06   #19
Nitorami
Major Dude
 
Join Date: Mar 2008
Location: Erlangen
Posts: 811
Yes, charming idea of how to use shapes. Very nice, these easter eggs. I took the liberty to polish a few of them up a bit

@Amandio: I am not sure what you had in mind with this code

rot=.00999*rot+.6+.55*sin(.05*time);

It looks like you intended to use rot from the previous frame, which is normally a useful idea to smooth variables but be warned it does not work with milkdrop internal vars such as rot, which are not remembered from one frame to the next, therefore rot = 0.0099*rot does nothing (if not something undefined) You must always create an own persistent var first, e.g.

rot_ = 0.99 * rot_ + (1-.99) * step;

rot_ would then follow the input variable "step" slowly, and can THEN be assigned to rot:

rot = rot_;

Took me a while to discover traps as these
Attached Files
File Type: milk amandio c - small life polished (goes disco).milk (6.5 KB, 646 views)
Nitorami is offline   Reply With Quote
Old 19th January 2009, 20:46   #20
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
I really appreciated the kind comments and most helpful tips.
Now I have a question for the experts.
I'm attaching a sample of some images I've been working on. They are produced with Gimp, using a simple script called "roto-translate". Roto-translate generates a chosen number of layers of an image, applying a chosen angle of rotation and/or pixels of translation in x and y.
To create these images, the original image (left) is set to "difference" mode, and therefore all layers generated by roto-translate are also in this mode. After the rotation/translation the image is flattened to black or white.
Would it be possible to obtain to emulate the difference layers in MD?

Amandio
Attached Images
File Type: jpg difference_layers.jpg (28.8 KB, 537 views)
Amandio C is offline   Reply With Quote
Old 20th January 2009, 16:10   #21
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
Carefully polished indeed. One could almost eat them.
Amandio C is offline   Reply With Quote
Old 21st January 2009, 15:27   #22
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
1 new preset, 1 remix.
Amandio C is offline   Reply With Quote
Old 21st January 2009, 15:52   #23
Stahlregen
Senior Member
 
Join Date: Feb 2008
Posts: 218
Quote:
Originally posted by Amandio C
I'm attaching a sample of some images I've been working on. They are produced with Gimp, using a simple script called "roto-translate". Roto-translate generates a chosen number of layers of an image, applying a chosen angle of rotation and/or pixels of translation in x and y.
Well, I thought about this for a while and this is what I've come up with - it's iterative and eats quite a lot of shader instructions, though. Also, it gets distorted by aspect ratio.

I've put full comments into the comp shader that should walk you through the steps. Also see Cope's excellent Pixel shader guide for more info on shaders.
Attached Files
File Type: milk stahlregen - rototranslate demo.milk (6.5 KB, 666 views)
Stahlregen is offline   Reply With Quote
Old 21st January 2009, 16:07   #24
Flexi
wellspring of milk
Major Dude
 
Flexi's Avatar
 
Join Date: Apr 2007
Location: 54.089866,12.11168,18.75
Posts: 2,055
Send a message via ICQ to Flexi
I'm glad you like my elastic thread code.
The first version was optimized for 60fps and it needed a while to accelerate.
I changed it from time to time, but recently i came up with one version which works quite good with lower framerates too and i threw out some unnecessary variables.

remix this one
Attached Files
File Type: milk flexi - elastic thread prototype.milk (10.3 KB, 678 views)
Flexi is offline   Reply With Quote
Old 21st January 2009, 19:35   #25
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
Thanks a lot for the feedback.
Indeed I enjoy your work Flexi. Probably the most ancient music visualization is dance, and surely it invokes that.
As this pc has no compatible videocard, I will check the presets later. I forgot to mention the formula Gimp uses to obtain difference layers, it's quite simple:
result layer = abs(top layer-bottom layer)
I suppose these are color values.

Amandio
Amandio C is offline   Reply With Quote
Old 22nd January 2009, 16:26   #26
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
Stahlregen the code is brilliant, congratulations. It overcame my best expectations.
A magic dancing preset, Flexi. I remixed instead again elastic study, hope you like it.
Attached Files
File Type: zip ping pong, rototranslate difference layers 1+2.zip (7.8 KB, 610 views)
Amandio C is offline   Reply With Quote
Old 23rd January 2009, 09:36   #27
Flexi
wellspring of milk
Major Dude
 
Flexi's Avatar
 
Join Date: Apr 2007
Location: 54.089866,12.11168,18.75
Posts: 2,055
Send a message via ICQ to Flexi
well, the old code behaves somewhat strange i think.
the new one has a much more direct feedback.

...that nasty old 4bit color look is funny
makes me think of TurboPascal and Windows3.1 times

[ot]
my first own PC was a 486 with 33MHz and giant 32MB Ram

*lol* i just remember playing Commander Keen 4 on a 286 where i also made my first programming experiences with Logo, man... that's long ago...

edit: see this one - http://www.youtube.com/watch?v=nisFUjnO87g
...and now imagine looking back on Milkdrop in 20 years...

Last edited by Flexi; 23rd January 2009 at 10:35.
Flexi is offline   Reply With Quote
Old 23rd January 2009, 16:41   #28
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
Precious memories, no doubt. The first computer game I remember playing was Pong, in 1980 maybe. But I sense even better the evolution when I see an old text-only game.
The new elastic code is very good, I'll check the remix back home. Have a nice day.

EDIT
I'm willing to use the roto-translate code but with a Lighten-only layer mode instead. The formula is:
result layer = max(bottom layer,top layer)
Thank you.

Last edited by Amandio C; 23rd January 2009 at 16:58.
Amandio C is offline   Reply With Quote
Old 23rd January 2009, 17:20   #29
Stahlregen
Senior Member
 
Join Date: Feb 2008
Posts: 218
Just replace
ret = abs(ret-GetPixel(uv2));
in the shader with
ret = max(ret,GetPixel(uv2));
Stahlregen is offline   Reply With Quote
Old 23rd January 2009, 19:09   #30
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
Thanks again.
A preset for newbies like myself.
Attached Files
File Type: milk amandio c - goldline (tutorial).milk (5.3 KB, 596 views)
Amandio C is offline   Reply With Quote
Old 26th January 2009, 11:15   #31
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
2 presets.
Attached Files
File Type: zip amandio c - goldline (fireworks) + paperflame.zip (3.5 KB, 590 views)
Amandio C is offline   Reply With Quote
Old 28th January 2009, 11:27   #32
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
3 new presets.
I have a question. In "seagull" I would like to set the wings movement to various speed. When multiplying the argument of sin(time) by a variable the result is not good though. Any suggestion? Thank you.
Amandio C is offline   Reply With Quote
Old 28th January 2009, 13:12   #33
Flexi
wellspring of milk
Major Dude
 
Flexi's Avatar
 
Join Date: Apr 2007
Location: 54.089866,12.11168,18.75
Posts: 2,055
Send a message via ICQ to Flexi
in your case i would suggest a replacement of the time variable.

try something like this:

v = 1; //set velocity here
t = t + v/fps;

anyway, i couldn't resist - here's one remix
Attached Files
File Type: milk amandio c + flexi - altar of pi.milk (8.4 KB, 573 views)
Flexi is offline   Reply With Quote
Old 28th January 2009, 14:20   #34
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
I will check the remix later when I get home. And your code, thanks for the tip.
Amandio C is offline   Reply With Quote
Old 29th January 2009, 11:00   #35
Flexi
wellspring of milk
Major Dude
 
Flexi's Avatar
 
Join Date: Apr 2007
Location: 54.089866,12.11168,18.75
Posts: 2,055
Send a message via ICQ to Flexi
I've shifted the the per-vertex code to the warp shader for more accuracy - looks good
Attached Files
File Type: milk amandio c + flexi - altar of pi [refined].milk (8.6 KB, 566 views)
Flexi is offline   Reply With Quote
Old 30th January 2009, 08:35   #36
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
Creepy, it feels like we're trapped inside. Great.
Amandio C is offline   Reply With Quote
Old 30th January 2009, 12:51   #37
Flexi
wellspring of milk
Major Dude
 
Flexi's Avatar
 
Join Date: Apr 2007
Location: 54.089866,12.11168,18.75
Posts: 2,055
Send a message via ICQ to Flexi
it's from the sewers of the future underneath the temple of Fractopia.

3 days ago a blind passenger hopped in our shopping basket at IKEA

we decided to keep it and we named it "Pi"

i guess the pi rat would feel pretty well in that location - but isn't this idea far away from creepy?
Flexi is offline   Reply With Quote
Old 31st January 2009, 08:40   #38
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
Maybe he would run to make it rotate faster, like a hamster.
A new preset, with a bird again.
On this time of year seagulls haunt the mall where I take lunch to look for leftovers on the esplanade. A few months ago I left the table for a few seconds and one flew by and took my steak!
Attached Files
File Type: milk amandio c - singull.milk (5.6 KB, 571 views)
Amandio C is offline   Reply With Quote
Old 31st January 2009, 13:15   #39
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
2 fresh ones. "Bossa" means in portuguese hump or wave.
Attached Files
File Type: zip amandio c - bossa city + bossa city bw.zip (3.4 KB, 555 views)
Amandio C is offline   Reply With Quote
Old 1st February 2009, 09:53   #40
Flexi
wellspring of milk
Major Dude
 
Flexi's Avatar
 
Join Date: Apr 2007
Location: 54.089866,12.11168,18.75
Posts: 2,055
Send a message via ICQ to Flexi
http://www.youtube.com/watch?v=gg5_mlQOsUQ

we have seagulls too.
they are so naughty, they fly by and grab the fish from tourists bread rolls.
Attached Images
File Type: jpg luftratten.jpg (179.5 KB, 458 views)
Flexi is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Visualizations > MilkDrop > MilkDrop Presets

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump