Was wondering what Lont+ meant.
(I did read that post by Max 5 years ago, but never really grasped it.)
Did a slight upgrade of alpha logSpiral node.
But see that Karsten? already did a curve length node.
So (at least some?) MoI curves have a .length property, so I do not have to re-calculate the arcLength...
As per Barry's suggestion, here is a kludged together Macro, using the Concat node, renamed, to enable the creation of a macro node with several lines of text.
Highlight the completed text macro in the nodeeditor canvas, and EXPORT it to the Macro directory, with desired name.
Saving it saves the DocText macro as a node program, so Loading it with Load erases the current canvas screen.
The DocText macro may be entered into a new screen through the right click Macro menu.
Do NOT get the DocText macro with the Load button.
Saving it saves the DocText macro as a node program, so Loading it with Load erases the current canvas screen.
The Macro menu seems to lack a scrolling bar, so space may be limited???
This whole Macro Save vs Export vs Load, versus macroLoad is confusing. There should be a SaveMacro button, and a LoadMacro button? And Macro scroll?
Also, every node Program would need to have its own text macro saved???
Well it is an experimental kludge...I cannot spend any more time on it.
A few simple tests:
It seems that only one master DocText Macro is needed.
The Macro can be right click MacroSelected to the canvas multiple times, and each canvas copy can have its text modified in different ways, and the canvas .nod program saved in a node program.
But the modifications permute the order of the text lines, which is not good.
- Brian
Edit: Macro Import can import the DocText file from some other directory.
Note, the order of the text lines can be changed by Max' addition a few years ago of the ability to Alt+Drag the input Dots to the Macro. (I had forgotten this.)
Litegraph.js the foundation for NodeEditor contains a "Panel" node (see image below),
which I imagine is for notes within a node circuit. Unfortunately it does not appear to be functional.
It states "Non interactive panel".
So my guess is that it is just a pretty box, which does not have any text ability. (???)
There are a couple of other programs using litegraph, that may use the box, with additions, to display graphics(?)
Sorry, only include the cascading menus in the image in my last post
to reveal the location of "Panel" node. I should have checked that each tier
of the activated menu items remained highlighted: Add Node/Widget/Panel
The other element in litegraph demo that would be useful in NE is "Add Group"
Groups may be individually named and nodes are within the group border can then
be moved around the canvas as a block.
Hi,
not sure if it's been mentioned before but the ability to name objects that then appear in Moi object list would be useful.
I am creating mechanisms with one nod then automating with another nod to check for clashes. So the get by name node
would automatically pick the objects if this was available.
Cheers
Barry
Some time ago I became excited by the potential of the Lindenmayer rewriting system for pattern generation in nodeEditor.
The wikipedia page offers a decent explanation: https://en.wikipedia.org/wiki/L-system
Initially I was thinking of a pair of nodes: a) universal rewriter & b) a interpreter/turtle node. This is the common approach and the one that Grasshopper has taken. However, I realised that the lack of facility for handling string data would render this method impractical, and so shelved the idea.
The images above are all examples of patterns generated with this online tool, and could potentially be generated in NE with parametric control.
The page is rich in javascript, including one linked files called "l-system-generator.js" which I wonder if it may present a template for
the authoring of a NE node following a similar approach. Many of the options on the webpage would not be needed in the node.
Below I have shown a proposal for a L-System Node. It need only have inputs for the Starting point, the number of generations, the line length for branches, the branch angle and scaling factor of line length of branches of each generation. For the 6 patterns shown above the "Scale/Gen" value would be 1, but botanical structure such shown below would have a decimal value < 1 (eg 0.3).
All of the grammatical formulation would be located in the info panel. I have included outputs as lines and as well as points because each has advantages.
I know that this would likely be a major undertaking, but if there are any biters, I do believe it was be an amazing contribution to NE.
Thank you for the link. I download & voraciously devoured its content.
Moreover I have returned it again & again...Lindenmayer's insight was extraordinary:
that a simple set of instructions applied recursively would generate limitless patterns and forms, but further that a subset of these would be facsimiles of forms found in nature. Though for me at least, it is the novel pattern generation that is most exciting, particularly those that possess aperiodicity like the explorations of Roger Penrose.