MoI discussion forum
MoI discussion forum

Full Version: Node Wish List

Show messages:  1-4  5-24  25-44  45-64  65-84  …  425

From: James (JFH)
16 Nov 2019   [#5]
Voronoi Node

The node would have 2 inputs: a series of points and a boundary curve and
output a noronoi pattern.

This would be analogous to Max's Voronoi script (http://moi.maxsm.net/item/48), however the options of
"Corners" and "Spacing" would not need to be included because there are already
nodes that can perform these functions.


James
https://www.instagram.com/nodeology/

PS for further background to Max's Voronoi script see this forum thread:
http://moi3d.com/forum/index.php?webtag=MOI&msg=7177.1

Image Attachments:
voronoi.jpg 


From: Frenchy Pilou (PILOU)
16 Nov 2019   [#6]
Hello James
For the repository
Have you some lights about some Arrays yet existing nodes that I have not yet described ?
Because I am in total dark about that!
http://moiscript.weebly.com/arraysext.html

Idem for these sections! Basics2 ( Loops) - Vectors - and some little dark black holes! :)
From: mkdm
16 Nov 2019   [#7] In reply to [#5]
James...your contributions are always...AMAZING!!!

Congrats!!!
From: James (JFH)
17 Nov 2019   [#8]
Delaunay Node

Node has a input for points and generates an output of connection lines as a Delaunay Triangulation.


James
https://www.instagram.com/nodeology/
From: Frenchy Pilou (PILOU)
17 Nov 2019   [#9] In reply to [#8]
It's the grouping for these nodes that give a simulation of a Delaunay function
or the Delaunay node is a new function node itself ?
From: James (JFH)
17 Nov 2019   [#10] In reply to [#9]
Pilou,

>> It's the grouping for these nodes that give a simulation of a Delaunay function
or the Delaunay node is a new function node itself ? <<

The proposed new node is the one titled "Delaunay" in my earlier post.
The other nodes only show how the point input may be generated.

As I understand it, the Delaunay triangulation is a precursor to generation of voronoi
diagram and hence should be solvable. However unlike the voronoi points that are
restrained to 2D plane, Delaunay triangulation would ideally operate on points in 3d space.
Hopefully this would not make the task much more onerous.

James
https://www.instagram.com/nodeology/
From: Frenchy Pilou (PILOU)
17 Nov 2019   [#11] In reply to [#10]
so who is coding nodes (except Max, r2d3, Karsten...

Because I am really stuck on my repository for understand "this node made what ?" ! :)
I make an s o s ! :)

80% are done but the 20 % missing is total fog! :)

So help ! ... _ _ _ ... :)
From: James (JFH)
17 Nov 2019   [#12]
Spiral Node

This would be fairly low down in the order, given until Michael post of today,
I had not even thought about the need for a spiral node. Defining a spiral with
a set of points with locations determined by a bit of trigonometry is not difficult,
it would nevertheless be worth having a dedicated node since being an existing
UI function should be relatively straightforward to transpose the code into a node.




James
https://www.instagram.com/nodeology/

Image Attachments:
spiral.jpg 


From: bemfarmer
17 Nov 2019   [#13] In reply to [#12]
I suppose existing spiral scripts could be converted into nodes.
- Brian
From: wayne hill (WAYNEHILL5202)
24 Nov 2019   [#14] In reply to [#12]
James,

For testing purposes:

Insert the Spiral.txt code on Curves2.js after the Helix Node.

This will add a Spiral Node to the Curves2 listing.

Added a spiraltest.nod for testing.

Waiting to see some nodeology art with this new node...

Wayne
From: Frenchy Pilou (PILOU)
24 Nov 2019   [#15]
Nobody for my SOS ? Encalaminated in the Sargasso Sea! :)

You will can see easily what are the "holes" !

http://moiscript.weebly.com/biblio-elephant.html
From: James (JFH)
24 Nov 2019   [#16] In reply to [#14]
Wayne,

Thank you so much for your spiral node contribution.
It works perfectly....& multi-processing too!
Great Work.

>> Waiting to see some nodeology art with this new node... <<

I have uploaded a new pattern transition Animation to instagram
utilising your new node: https://www.instagram.com/p/B5QySEDJTIl/

Thanks again,
James
https://www.instagram.com/nodeology/


UPDATED:

PS If I could be so bold as to suggest an improvement, it would be
to remove the "Reverse" checkbox and instead allow negative "Turns" inputs,
with line of code asking something like:
"if turns < 0, then reverse = true, else reverse =false:
turns = abs(turns);"

In this way transitions can go from spiralling in one direction to the other.

A problem that arises with a number of nodes when dialling from a negative number to a positive number (or vice versa) is that a zero input will not be accepted and so an extra line of code would be useful:
"if turns == 0, then turns = 0.001;"

Unfortunately I'm not a coder, so obviously I am not stating that these are 2 lines of javascript, but rather, only their intent.
From: wayne hill (WAYNEHILL5202)
24 Nov 2019   [#17] In reply to [#16]
James,

The nodeology art looks great! The reverse direction should be a easy change.
The division by zero goes off into infinity. It also will be addressed.

Thank you for testing.

Wayne
From: wayne hill (WAYNEHILL5202)
24 Nov 2019   [#18] In reply to [#17]
James,

Updated the Spiral Node for reverse direction (0 or 1). Could you provide more information on the error you are getting with the negative values?

Are you able to enter the same information on the MOI UI for the flat helix without error? This node is using the MOI API for the helix / flat spiral.

Wayne
From: James (JFH)
25 Nov 2019   [#19] In reply to [#18]
Wayne,

>> Could you provide more information on the error you are getting with the negative values? <<

I'm not getting an error message, however the spiral disappears for any "Turns" value less than 0.01 or negative. This is logical for the MoI3d UI but less so for NE particularly with multiprocessing applications.

Have a look at the attached .nod file. It might better explain my meaning from earlier suggestion of improvement to spiral node. Firstly, dial through the GREEN knob from min-max.

In the upper example the spiral disappears when the knob for "Turns" input is dialled below 0.01, whereas the lower example works throughout the range from -5to5 with the addition of a rather clumsy workaround.

It is perhaps not that straightforward, but if you look at the math & compare nodes on the lower example. I was suggesting incorporating analogous code into the Spiral node and removing any reference to "Reverse" from the info panel or the node itself for that matter. Which is to say, that the negative or positive property of the "turns" value, alone, would designate the direction of twist.

Thank you for all your your effort
James
https://www.instagram.com/nodeology/

Attachments:
SpiralWorkAround.nod


From: Karsten (KMRQUS)
25 Nov 2019   [#20] In reply to [#11]
Hello Pilou,

an example of bundleArray - here for points. It takes points from the input and bundle it to packages in the output array. Here the first point of each input and so on.
Works also for numbers and objects.

Have a nice day
and thanks for your work on it!

Karsten

Attachments:
bp.nod


From: Frenchy Pilou (PILOU)
25 Nov 2019   [#21] In reply to [#20]
Thanks...i will see that as soon as possible! :)
From: wayne hill (WAYNEHILL5202)
25 Nov 2019   [#22] In reply to [#19]
James,

Great example of the issue. A solution is being worked on.

Thanks,


Wayne
From: wayne hill (WAYNEHILL5202)
25 Nov 2019   [#23] In reply to [#22]
James,

Updated the Spiral Node. Turn values minus reverses direction. Turn zero values default at .01 for a ... straight arc. ???

Wayne
From: James (JFH)
25 Nov 2019   [#24] In reply to [#23]
Brilliant stuff, Wayne
Works perfectly!

I have updated "Current NODE EDITOR folder" thread accordingly:
http://moi3d.com/forum/index.php?webtag=MOI&msg=9358.1

James
https://www.instagram.com/nodeology/

Show messages:  1-4  5-24  25-44  45-64  65-84  …  425