
A MaxScript one dimentional cellular automaton algorithm. Similar to the .mel script, but much more elaborate. It implements rules 30, 54, 60, 62, 90, 94, 102, 110, 122, 126, 150, 158, 182, 188, 190, 220, 222 and 250. To use run the script and go under utilities/maxscript.
You can download the script here.
Showing posts with label maxscript. Show all posts
Showing posts with label maxscript. Show all posts
Monday, July 13, 2009
1D Cellular Automata v1.0.ms
Posted by
dimitris gourdoukis
at
10:01 AM
0
comments
Labels: maxscript
Thursday, June 19, 2008
brownian motion
A small script to simulate brownian motion in 3dstudio max. The script has to be placed in a script operator for the particles.
--
-----------------------------------------------------------------------------------
--\\\\\\\\_________________________BROWNIAN MOTION_________________________////////
--//////// \\\\\\\\
-----------------------------------------------------------------------------------
--> Written by dimitris gourdoukis.
--> object-e architecture 2007.
-----------------------------------------------------------------------------------
--> http://object-e.blogspot.com/
--> object.e.architecture@gmail.com
-----------------------------------------------------------------------------------
--> Last Modified 9/14/07.
--> Use and modify at your own risk.
-----------------------------------------------------------------------------------
--> Description:
-- This is a simple script to simulate brownian motion with particles. Paste
-- the script in a script operator in the particle view.
-----------------------------------------------------------------------------------
on ChannelsUsed pCont do (
pCont.useSpeed = true --enable the Float channel
)
on Init pCont do (
)
on Proceed pCont do(
--Get the number of particles
count = pCont.NumParticles()
--create a for loop for the number of particles
for i in 1 to count do (
--set the particle index to i
pCont.particleIndex = i
--give a random speed to the particles
pCont.particleSpeed = (random [-0.2,-0.2,-0.2] [0.2,0.2,0.2])
)
)
on Release pCont do (
)
Posted by
dimitris gourdoukis
at
2:44 PM
0
comments
Labels: maxscript
Subscribe to:
Posts (Atom)