Comments (3)
The dummy parameter is the parameter called index, we add it just as any other parameter, but, we set its default value to -1, use it as an output and hide it as an input. All of this can be done from the advanced node settings of the parameter.
The order of operations in the loop is as follows:
- Parameters and iterators are fed to the loop.
- All nodes in the loop are executed.
- Break—if available—is executed.
- Generators—if available—is executed.
- Reassignment—if available—is executed.
So the breaking happens before generators or reassignment operators are executed.
Thanks for bringing this to our attentions, we shall add it in the documentation.
from animation_nodes_manual.
Thank you, in particular for the processing order.
Re the dummy parameter, the funny thing is, as mentioned I didn't know how to do this, but yet my program *apparently runs flawlessly without it.
I probably need to check the veracity with more outcome. But so far I think I get the results you do without this dummy value.
I can try to reread what you wrote to understand better what you are doing there with the dummy value (and subsequently why I need it in the Subprogram routine).
from animation_nodes_manual.
Added more information about the execution mechanism of loops in 1fadd09.
from animation_nodes_manual.
Related Issues (20)
- Number Wiggle: Amplitude vs Persistence HOT 4
- Cannot choose which Python to use when compiling AN HOT 2
- Particle systems from objects - no mesh generation (target) HOT 3
- Vertices Numbering HOT 5
- Animation Nodes for Python 3
- Animation Nodes 2.0 for Python 3.7.0 HOT 1
- Prepare Polygon Transformation HOT 6
- Break when upgraded to 2.1.2 HOT 2
- Object Mesh Data Example HOT 4
- Animate evolution? HOT 3
- Combine Mesh not work correctly HOT 1
- Materials on separated-polygons HOT 5
- Separate Polygons/Combine Mesh does not work as documented. HOT 3
- No documentation for "Mesh Info" HOT 3
- How to create Structure Synth in new versions animation node? HOT 9
- LSystem HOT 2
- FastNoise HOT 1
- The New Documentation HOT 8
- AN 2.2 linux py37 fails HOT 6
- Possible error in documentation – code developper guide HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from animation_nodes_manual.