TD version Nature Of Code, just finished first 2 chapters, of cause all free n since I’m actually not programer background guy,really hope you help me to make all projects more reasonable ,projects are here: GitHub - code-2-art/natureofnode: Node based implement of Nature of Code 2
No feedback just a hell yeah
I think those are really good. I hope you continue to do more!
One thing I would like to mention is pull based cooking. This is something to always keep in mind for smooth operation.
For example in your vector normalize example
To improve performance and cut resource usage:
You can set your logic chops to Time Slice Off, and they will only cook when you change the input as opposed to every frame.
In a similar frame of thinking, set a few thoughtfully positioned null chops to “cook type selective”. This will mean they will only pass data when fed new values. Presently everything is cooking all of the time because the first node, the mouse in is always cooking, and everything that is pulling its data is also recalculating along with it every frame. The next node will cook when fed an active cooking previous node.
Start by placing a null chop set to cook selective after the mousein. Notice when you release the mouse from your grip the network no longer cooks for each frame, and when you move it again it will automagically work as intended.
Now do the logic chops time slice off and retrace the data flow to look for unnecessary node cooking.
You can see what is cooking when by middle mouse clicking a node, by watching the linkages between nodes animate, by using an info chop on any node, by using the probe…
After you go over them with pull based in mind, consider how you might use the geo comps instancing to give an alternate path of the final data. If the data is going to remain in the accessible programming world, the chop and limit like you have is most reasonable. If the data is going only to a visualization the geo instancing is faster/broader.
All and all very nice project!
thank you!
Awesome stuff, I did the same thing for OpenFrameworks some years ago. Will definitely dive into this.