Old 2nd June 2010, 12:56   #241
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
time twirl
Attached Files
File Type: 7z amandio c - time twirl.7z (286.0 KB, 334 views)
Amandio C is offline   Reply With Quote
Old 2nd June 2010, 20:50   #242
Nitorami
Major Dude
 
Join Date: Mar 2008
Location: Erlangen
Posts: 830
That works indeed. Interesting. Might be useful for writing presets.
Nitorami is offline   Reply With Quote
Old 3rd June 2010, 08:58   #243
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
Thank you.
In this preset the left and right mouse buttons are also available.
In scripted mode there are no variables transported from frame to frame, naturally, but gmegabuff does the job. And it is possible after all to have preset initialization values by having the script write the loop index in the preset. The init values are only loaded in the start.
Attached Files
File Type: 7z amandio c - time stamp.7z (302.4 KB, 321 views)

Last edited by Amandio C; 3rd June 2010 at 09:36.
Amandio C is offline   Reply With Quote
Old 3rd June 2010, 10:14   #244
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
A quick drawing.
The zoom speed is probably slow in the preset, you can adjust it in the per-frame code
from
gmegabuf(0)=below(q9,25)*.001+gmegabuf(0)*(1+.01*q8-.01*q7); //// zoom
to
gmegabuf(0)=below(q9,25)*.001+gmegabuf(0)*(1+.02*q8-.02*q7); //// zoom
Attached Thumbnails
Click image for larger version

Name:	time stamp.JPG
Views:	263
Size:	132.2 KB
ID:	47062  
Amandio C is offline   Reply With Quote
Old 3rd June 2010, 13:28   #245
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
In this version the 3 mouse buttons are available.
I don't think it would be a good idea trying to sell these drawings, the buyer could measure the time stamped. "What, this was made in 30 seconds? This is not art!"
Attached Files
File Type: 7z amandio c - time stamp 1.7z (302.6 KB, 320 views)
Amandio C is offline   Reply With Quote
Old 4th June 2010, 09:18   #246
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
Movies
Instructions:
1. Extract the frames of a video file. I suggest using Super!
2. The frames name must have 5 digits (00001.jpg etc). Super uses this format.
3. The script loops the video.
Attached Files
File Type: 7z amandio c - movies.7z (285.3 KB, 313 views)
Amandio C is offline   Reply With Quote
Old 6th June 2010, 06:23   #247
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
"Movies frames"
1. It works better then the last version, some parameters for delays were added. The frames still must be previously extracted.

"Movies real time"
1. Extracts the frames in real time using ffmpeg which must be in the folder. You can get it freely in the net, but if Super is installed look in it's subfolders.
2. The video file must be in the folder and be called "movie", ffmpeg accepts all video formats.
3. The video is looped, except obviously when using a real time source.
4. The script is identical to the precedent, but ffmpeg is called in the start and extracts all the frames in the background. Note that ffmpeg will only stop when all the frames are extracted, not by pausing or stopping the script. If for some reason you were extracting a huge video and want to abort, you need to use the Task Manager.
5. The performance however in inferior to "Movies frames".
6. Therefore this script is mainly useful to use a real time source like a camera.
7. However the script must be edited to do this, and the parameters for ffmpeg adjusted. I don't have a camera available at the moment so this hasn't been yet tested. I suggest doing a web search for the parameters necessary for your camera.

"Movies real time clean"
1. Extracts the frames in real time using ffmpeg which must be in the folder. FFmpeg is called for each frame and then stops.
2. The video file must be in the folder and be called "movie", ffmpeg accepts all video formats.
3. The video is looped, except obviously when using a real time source.
4. The frames are deleted after use by Milkdrop, only a few ones will remain in the end.
5. The performance however in inferior to "Movies real time". The main reason to use this script is to avoid having the folder full of frames.

In a nutshell, I suggest using "Movies frames" except when there is a real time source or when creating many files is an issue.
Attached Files
File Type: 7z movies frames.7z (286.0 KB, 322 views)
Amandio C is offline   Reply With Quote
Old 6th June 2010, 06:24   #248
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
Movies real time
Attached Files
File Type: 7z movies real time.7z (284.8 KB, 294 views)
Amandio C is offline   Reply With Quote
Old 6th June 2010, 06:26   #249
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
Movies real time clean
Attached Files
File Type: 7z movies real time clean.7z (284.8 KB, 312 views)
Amandio C is offline   Reply With Quote
Old 19th June 2010, 20:31   #250
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
This preset started as scripted, with mouse control. It wasn´t working very well when 11 warp effects were added - the framerate dropped severely - so here is the non interactive version.
Attached Files
File Type: zip amandio c - photo warp.zip (206.1 KB, 325 views)
Amandio C is offline   Reply With Quote
Old 13th July 2010, 22:13   #251
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
I haven't been much around here lately, this is a wave that seems to be fading in the distance.I have rather been enjoying space music and sinking slow ships in my submarine. Anyway, I have a bug with MD, recently installed in a laptop. The text of formulas appears unformatted, showing chinese (arabic?) symbols. The menus text is ok. The fonts settings are the default.
Amandio C is offline   Reply With Quote
Old 20th July 2010, 22:33   #252
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
rubik's dream
Attached Files
File Type: milk amandio c - rubik's dream.milk (5.9 KB, 311 views)
Amandio C is offline   Reply With Quote
Old 6th August 2010, 22:11   #253
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
disturbances
Attached Files
File Type: zip amandio c - disturbances.zip (11.5 KB, 302 views)
Amandio C is offline   Reply With Quote
Old 7th August 2010, 19:07   #254
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
mass effect
Attached Files
File Type: milk amandio c - mass effect.milk (6.1 KB, 318 views)
Amandio C is offline   Reply With Quote
Old 8th August 2010, 19:12   #255
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
speed effect
Attached Files
File Type: zip amandio c - speed effect.zip (3.8 KB, 304 views)
Amandio C is offline   Reply With Quote
Old 5th September 2010, 21:36   #256
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
Presets based on constructions of cubes, composed of 6 triangles.
Attached Files
File Type: zip amandio c - salty bits.zip (19.3 KB, 287 views)
Amandio C is offline   Reply With Quote
Old 26th September 2010, 00:21   #257
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
new embrace
Attached Files
File Type: zip amandio c - new embrace.zip (5.0 KB, 294 views)
Amandio C is offline   Reply With Quote
Old 9th October 2010, 22:34   #258
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
I have created some parametric x,y functions that you might call iterative, in the form:
loop
x=x+f1;
y=y+f2;
where f1 and f2 are simple functions, sometimes including a condition.
The results were surprisingly diverse, generating tendrils, procedural maps, orbits or "serial" graphs. The most interesting are the tendrils. The expression is:
loop
p=.9*p*(1+.1*sin(.2*time*sample-.1*time))+ 2*cos(sample-.1*time);
x=x+sin(p);
y=y+cos(p);
It evolves with time, creating new leafs.
Attached Files
File Type: zip amandio c - iterative.zip (19.6 KB, 269 views)
Amandio C is offline   Reply With Quote
Old 13th October 2010, 00:16   #259
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
Exploring the curious similarities between fractals and ancient calligraphies.
Attached Files
File Type: milk amandio c - rosetta.milk (24.5 KB, 290 views)
Amandio C is offline   Reply With Quote
Old 15th October 2010, 21:57   #260
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
interference pattern
Attached Files
File Type: zip amandio c - interference pattern.zip (18.7 KB, 263 views)
Amandio C is offline   Reply With Quote
Old 16th October 2010, 23:48   #261
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
A new iteractive function drawing randomly several well known fractal forms, plus a couple I had never seen.

s1=15+5*sin(.005*time);s2=100*sin(.005*time);
loop, i
p1=s1*sin(i*s2);p2=p1-p2;
x=x+sin(p2);y=y+cos(p2);
Attached Files
File Type: zip amandio c - all in one.zip (3.7 KB, 257 views)
Amandio C is offline   Reply With Quote
Old 22nd October 2010, 19:05   #262
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
prime forms
Attached Files
File Type: milk amandio c - prime forms.milk (6.0 KB, 309 views)
Amandio C is offline   Reply With Quote
Old 23rd October 2010, 21:38   #263
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
Exploring the condition of tangency between several surfaces, composed of circles. Two methods were used.
1 Given circle1(x1,y1,rad1) and circle2(x2,y2) the circles are tangent if
rad2= distance(circle1,circle2)-rad1;
2 Given circle1(x1,y1,rad1) and circle2(rad2) the circles are tangent if
x2=x1+(rad1+rad2)*sin(ang);
y2=y1+(rad1+rad2)*cos(ang); where ang can be any value

In case 1 when distance(circle1,circle2) < rad1, circle2 is inside circle1 and rad2 is negative.
But MD considers rad=-rad, so there is no need for corrections. Btw, in MD shapes rad is the diameter, not the radius.
Attached Files
File Type: milk amandio c - condition of tangency.milk (7.5 KB, 289 views)
Amandio C is offline   Reply With Quote
Old 23rd October 2010, 22:43   #264
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
condition of tangency 2
Attached Files
File Type: milk amandio c - condition of tangency 2.milk (6.8 KB, 298 views)
Amandio C is offline   Reply With Quote
Old 23rd October 2010, 23:33   #265
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
condition of tangency 3
Attached Files
File Type: milk amandio c - condition of tangency 3.milk (6.8 KB, 300 views)
Amandio C is offline   Reply With Quote
Old 26th October 2010, 02:55   #266
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
apollonius problem
Attached Files
File Type: milk amandio c - apollonius problem.milk (6.4 KB, 288 views)
Amandio C is offline   Reply With Quote
Old 26th October 2010, 18:17   #267
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
A new version of prime forms, without the central black circle. These functions show a rather complex behavior, it took a while to tune this into a balanced preset. The value of the counter t=t+.1/fps controls the function, higher values will generate more "fractalized" patterns. I was intrigued at first by the randomness of forms, specially at loading, since t is reset to zero when the preset is loaded. It seems now clear that the slight variations of fps generate the randomness.
Attached Files
File Type: milk amandio c - prime forms 2.milk (6.3 KB, 297 views)
Amandio C is offline   Reply With Quote
Old 31st October 2010, 01:08   #268
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
the green machine
Attached Files
File Type: zip amandio c - the green machine.zip (3.9 KB, 255 views)
Amandio C is offline   Reply With Quote
Old 1st November 2010, 23:37   #269
yhscchpcbr
Senior Member
 
Join Date: Apr 2006
Posts: 449
hi

sure would be nice to see some of these forms (particularly green machine 2 - very cool) in 3d, and instead of flashing, generating via rotations (like epicycloids) like in this vid.

http://vimeo.com/2228788

i hate requesting things when i blow at maths and am super lazy, so feel free to flash me the bird and forget me and my slothful request like i deserve.

goodbye

ayahuasca chupacabra
yhscchpcbr is offline   Reply With Quote
Old 2nd November 2010, 22:21   #270
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
As odd as it may seem, these functions draw a continuous graph, spiraling around the center with a regular angular speed and variable radius. It's when the distance from the center is higher that the forms appear detached. When the radius is small almost nothing is drawn, so a high t speed avoids waiting several seconds for the next large form. Also, a slower speed will produce less varied forms. In this preset the t speed is reduced and every 10 seconds t is increased by 1, to produce new forms. The radial presets also produce more "continuous" drawings.
Attached Files
File Type: zip amandio c - presets.zip (7.7 KB, 266 views)

Last edited by Amandio C; 2nd November 2010 at 23:04.
Amandio C is offline   Reply With Quote
Old 2nd November 2010, 23:09   #271
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
snowflake
Attached Files
File Type: milk amandio c - snowflake.milk (8.1 KB, 306 views)
Amandio C is offline   Reply With Quote
Old 3rd November 2010, 05:12   #272
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
In this version the tendrils size is first normalized, bringing out the dust inside and compressing the larger ones. The result is zoomed in and out to avoid saturation in the normalized radius zone.
Attached Thumbnails
Click image for larger version

Name:	the green machine 5.jpg
Views:	231
Size:	103.0 KB
ID:	47852  
Amandio C is offline   Reply With Quote
Old 3rd November 2010, 05:13   #273
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
the green machine 5 - normalized
Attached Files
File Type: milk amandio c - the green machine 5 - normalized.milk (6.2 KB, 276 views)
Amandio C is offline   Reply With Quote
Old 3rd November 2010, 16:11   #274
Nitorami
Major Dude
 
Join Date: Mar 2008
Location: Erlangen
Posts: 830
Very nice these shapes !
Nitorami is offline   Reply With Quote
Old 4th November 2010, 06:17   #275
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
Thank you martin.
In these presets, the graph is either displaced, zoomed and/or normalized.
Attached Files
File Type: zip amandio c - the green machine.zip (9.6 KB, 268 views)
Amandio C is offline   Reply With Quote
Old 5th November 2010, 04:55   #276
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
Sierpinski's triangle
Attached Files
File Type: zip amandio c - Sierpinski's triangle.zip (3.8 KB, 265 views)
Amandio C is offline   Reply With Quote
Old 11th November 2010, 06:33   #277
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
random mesh
Attached Files
File Type: zip amandio c - random mesh.zip (7.7 KB, 258 views)
Amandio C is offline   Reply With Quote
Old 11th November 2010, 21:32   #278
Nitorami
Major Dude
 
Join Date: Mar 2008
Location: Erlangen
Posts: 830
Have you ever considered to make that 3D ? As you said in the other thread, with iterations determining height ? That should be possible using frames.
Nitorami is offline   Reply With Quote
Old 17th November 2010, 14:00   #279
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
Apollonius tangents
Attached Files
File Type: milk amandio c - Apollonius tangents.milk (7.9 KB, 288 views)
Amandio C is offline   Reply With Quote
Old 21st January 2011, 17:48   #280
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
sunspectrum
Attached Files
File Type: zip amandio c - sunspectrum.zip (3.7 KB, 252 views)
Amandio C 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