Python Tutorials | (back to the list of tutorials) |
A(g)ntense by ATLV
Venice Beach Canopy by ATLV
First, the code below generates swarm formation curves by two different swarm classes and by force fields generated randomly in the codes. Multiple force fields are combined by compound fields to respond the closest force field. There are a compound attractor field and a compound curl field for MyBoidA and also for MyBoidB. The rotation directions of the curl fields are opposite for MyBoidA and MyBoidB.
Warning: include(codepy/igeo_tutorial58_1/igeo_tutorial58_1.html): failed to open stream: No such file or directory in /home/mj7789dybiu5/public_html/igeo/tutorial/tutorial.php on line 66
Warning: include(): Failed opening 'codepy/igeo_tutorial58_1/igeo_tutorial58_1.html' for inclusion (include_path='.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in /home/mj7789dybiu5/public_html/igeo/tutorial/tutorial.php on line 66
The example code below uses an input Rhino file to generate force fields and
set initial positions of swarm agents.
Two sets of points on specific layer names are imported and the code puts
swarm agents of MyBoidA and MyBoidB at the point locations.
Curves on the six different layers are imported to generate force fields.
Curve attractor fields, curve tangent fields, curve curl fields for MyBoidA and MyBoidB are
instantiated.
The sample input file used in the code is this file.
field_lines1.3dm
Warning: include(codepy/igeo_tutorial58_2/igeo_tutorial58_2.html): failed to open stream: No such file or directory in /home/mj7789dybiu5/public_html/igeo/tutorial/tutorial.php on line 66
Warning: include(): Failed opening 'codepy/igeo_tutorial58_2/igeo_tutorial58_2.html' for inclusion (include_path='.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in /home/mj7789dybiu5/public_html/igeo/tutorial/tutorial.php on line 66
As result of nodes staying on a plane, being separated by compression structure, and pulled by tension structure between sections, nodes, sticks and wires are moved to equilibrium locations under the forces perpendicular to the section planes.
Warning: include(codepy/igeo_tutorial58_3/igeo_tutorial58_3.html): failed to open stream: No such file or directory in /home/mj7789dybiu5/public_html/igeo/tutorial/tutorial.php on line 66
Warning: include(): Failed opening 'codepy/igeo_tutorial58_3/igeo_tutorial58_3.html' for inclusion (include_path='.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in /home/mj7789dybiu5/public_html/igeo/tutorial/tutorial.php on line 66
The sample input file used below is below.
field_lines2.3dm
Warning: include(codepy/igeo_tutorial58_6/igeo_tutorial58_6.html): failed to open stream: No such file or directory in /home/mj7789dybiu5/public_html/igeo/tutorial/tutorial.php on line 66
Warning: include(): Failed opening 'codepy/igeo_tutorial58_6/igeo_tutorial58_6.html' for inclusion (include_path='.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in /home/mj7789dybiu5/public_html/igeo/tutorial/tutorial.php on line 66
Warning: include(codepy/igeo_tutorial58_4/igeo_tutorial58_4.html): failed to open stream: No such file or directory in /home/mj7789dybiu5/public_html/igeo/tutorial/tutorial.php on line 66
Warning: include(): Failed opening 'codepy/igeo_tutorial58_4/igeo_tutorial58_4.html' for inclusion (include_path='.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in /home/mj7789dybiu5/public_html/igeo/tutorial/tutorial.php on line 66
Warning: include(codepy/igeo_tutorial58_5/igeo_tutorial58_5.html): failed to open stream: No such file or directory in /home/mj7789dybiu5/public_html/igeo/tutorial/tutorial.php on line 66
Warning: include(): Failed opening 'codepy/igeo_tutorial58_5/igeo_tutorial58_5.html' for inclusion (include_path='.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in /home/mj7789dybiu5/public_html/igeo/tutorial/tutorial.php on line 66
The sample input file used below is below.
field_lines3.3dm
Warning: include(codepy/igeo_tutorial58_7/igeo_tutorial58_7.html): failed to open stream: No such file or directory in /home/mj7789dybiu5/public_html/igeo/tutorial/tutorial.php on line 66
Warning: include(): Failed opening 'codepy/igeo_tutorial58_7/igeo_tutorial58_7.html' for inclusion (include_path='.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in /home/mj7789dybiu5/public_html/igeo/tutorial/tutorial.php on line 66