Open Source Scripts: The DynaFleur Revealed
6 Comments so far
Leave a comment
February 7, 2008, 8:51 pm
Filed under: Dynafleur, open source, reflexive architecture | Tags: desdemona enfield, Dynafleur, open source, reflexive architecture, scripts, second life
Filed under: Dynafleur, open source, reflexive architecture | Tags: desdemona enfield, Dynafleur, open source, reflexive architecture, scripts, second life
Many thanks to desdemona Enfield and the DynaFleur team for sharing these 2 awesome scripts! I rezzed them out and started playing with them – its quite addicting! I can imagine all sorts of wonderful applications of these.
Here is the reflexPanel script and here is the reflexCilium script For the Cilium script, you’ll need to make the prim ‘flexi’ which you can enable in the ‘features’ tab. It also helps make the movement more fluid if you make the object long and narrow.
In order Enjoy! Thanks to Bettina Tizzy for letting me used the image above. You can read her post about DynaFleur on the NPIRL blog HERE.
6 Comments so far
Leave a comment
The reflexive architecture scripts are simple but very powerful and I plan to let them loose on my students, who are not scripters. I’ve got my own ideas for some, which might end up here if I can find the time!
The DynaFleur ones, however, could use a bit of documentation; I don’t know exactly what they are supposed to do and struggled to get them to work. After drilling down into the code I managed to figure out the reflexPanel script and got some results, but had no success getting the reflexCillium script to do anything. Just a few additional lines of comments at the top of the scripts would suffice.
Comment by Scooter Gaudio February 8, 2008 @ 8:16 amYes Scooter, sorry for the lack of clarity on that… for the Cilium script, you’ll need to make the prim ‘flexi’ which you can enable in the ‘features’ tab. It also helps make the movement more fluid if you make the object long and narrow. Hope that helps!
Comment by keystonesl February 8, 2008 @ 3:18 pmYes Scooter, sorry for the lack of clarity on that… for the Cilium script, you’ll need to make the prim ‘flexi’ which you can enable in the ‘features’ tab. It also helps make the movement more fluid if you make the object long and narrow. Hope that helps! As for the panel script, can you describe what you did to make it work? I’ll check with desdemona for more info as well.
Comment by keystonesl February 8, 2008 @ 3:20 pmGreetings,
It did not occur to me to describe the prims within which these scripts were released. I must have imagined that the prims
would be blogged. (smiles)
—————
The cilium prim for the cilum script should have these non-default prim settings: type=cylinder, scale=,
taperX=taperY=0.7, Flex=On with soft=2.0, gravity=0, drag==0.2, wind=0.1, tension=1.0
When avatars are within a radial distance, then cilum flexes away from the nearest avatar. The flexForce increases linearly
with avatar distance reaching its maximum when the avatar distance reaches zero.
The maximum flexForce is set using a script variable.
—————
The panel prim for the reflex panel script should have these non-default prim settings: type=cylinder, scale=,
cut=(0.350, 0.50), hollow=95%.
When avatars are within a radial distance, then the panel moves away from the cylinder center along a line that bisects the
visible section of the cylinder. This section is what I refer to as the panel. The displacement increases linearly with
the cube of avatar distance reaching its maximum when the avatar distance reaches zero.
The maximum displacement as a fraction of the prim lateral X and Y scale is set using a script variable. Avatar distance is
computed with respect to the undisplaced cylinder position.
des/demona
Comment by desdemona enfield February 8, 2008 @ 10:10 pmWonderful… it’s html unless I explicitly say that it isn’t. Desdemona sighs.
The cilium scale was 0.2,0.2, 2.0.
Comment by desdemona enfield February 8, 2008 @ 10:17 pmThe panel scale was 3.0, 3.0, 0.5
I’ve tried this… it works amazingly… thanks for the post.
Comment by navtej kohli February 9, 2008 @ 9:59 pm