|
|
#241 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
time twirl
|
|
|
|
|
|
#242 |
|
Major Dude
|
That works indeed. Interesting. Might be useful for writing presets.
|
|
|
|
|
|
#243 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
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. Last edited by Amandio C; 3rd June 2010 at 08:36. |
|
|
|
|
|
#244 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
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 |
|
|
|
|
|
#245 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
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!" |
|
|
|
|
|
#246 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
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. |
|
|
|
|
|
#247 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
"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. |
|
|
|
|
|
#248 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
Movies real time
|
|
|
|
|
|
#249 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
Movies real time clean
|
|
|
|
|
|
#250 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
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.
|
|
|
|
|
|
#251 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
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.
|
|
|
|
|
|
#252 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
rubik's dream
|
|
|
|
|
|
#253 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
disturbances
|
|
|
|
|
|
#254 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
mass effect
|
|
|
|
|
|
#255 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
speed effect
|
|
|
|
|
|
#256 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
Presets based on constructions of cubes, composed of 6 triangles.
|
|
|
|
|
|
#257 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
new embrace
|
|
|
|
|
|
#258 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
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. |
|
|
|
|
|
#259 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
Exploring the curious similarities between fractals and ancient calligraphies.
|
|
|
|
|
|
#260 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
interference pattern
|
|
|
|
|
|
#261 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
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); |
|
|
|
|
|
#262 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
prime forms
|
|
|
|
|
|
#263 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
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. |
|
|
|
|
|
#264 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
condition of tangency 2
|
|
|
|
|
|
#265 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
condition of tangency 3
|
|
|
|
|
|
#266 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
apollonius problem
|
|
|
|
|
|
#267 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
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.
|
|
|
|
|
|
#268 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
the green machine
|
|
|
|
|
|
#269 |
|
Senior Member
Join Date: Apr 2006
Posts: 444
|
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 |
|
|
|
|
|
#270 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
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.
Last edited by Amandio C; 2nd November 2010 at 23:04. |
|
|
|
|
|
#271 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
snowflake
|
|
|
|
|
|
#272 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
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.
|
|
|
|
|
|
#273 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
the green machine 5 - normalized
|
|
|
|
|
|
#274 |
|
Major Dude
|
Very nice these shapes !
|
|
|
|
|
|
#275 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
Thank you martin.
![]() In these presets, the graph is either displaced, zoomed and/or normalized. |
|
|
|
|
|
#276 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
Sierpinski's triangle
|
|
|
|
|
|
#277 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
random mesh
|
|
|
|
|
|
#278 |
|
Major Dude
|
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.
|
|
|
|
|
|
#279 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
Apollonius tangents
|
|
|
|
|
|
#280 |
|
Senior Member
Join Date: Dec 2008
Posts: 395
|
sunspectrum
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|