MoI discussion forum
MoI discussion forum

Full Version: Node Wish List

Show messages:  1-6  …  87-106  107-126  127-146  147-166  167-186  187-206  207-226  …  407-425

From: bemfarmer
16 Feb 2020   [#147]
A Dual Slider widget node would be useful.

There is a Demo of such a slider here: https://refreshless.com/nouislider/
and a link to GitHub download.

(So this might be an easy project? Maybe not. There is a lot of code)
There are some install instructions here: https://stackoverflow.com/questions/4753946/html5-slider-with-two-inputs-possible

I have not had time to see if it would be compatible with nodeeditor and MoI.

There would be a min value, a max value, and "p_value" slider, "grip" and "q_value" slider "grip".
min <= p_value <= q_value <= max. (I would also like 2 < q_value.)
For my Doyle Spiral Node, if I ever finish it.

- Brian
From: James (JFH)
16 Feb 2020   [#148] In reply to [#147]
Brian,

Do you mean something similar to Widget/Range node? See below.
Or something altogether different?

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

Image Attachments:
RangeSlider.gif 


From: James (JFH)
16 Feb 2020   [#149]
Polygon Edge Node

This node would be analogous to Draw/Polygon/Edge UI tool.
Although initially it could be a standalone node, ideally it would be a 2nd option to Curves/Polygon node, as shown.

The resultant polygon would be defined by inputting 2 points and the number of sides.
There could be a "Flip" Mode with pulldown menu choice of "True" & "False", but there could be some utility in allowing these options to be set dynamically. For example an input of 0,1 would draw 2 polygons back to back.

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

Image Attachments:
polygonEdgeNode.gif 


From: bemfarmer
16 Feb 2020   [#150] In reply to [#148]
Hi James,
Yes, the range node is close.

I have just been making some minor modifications, for a range2 node.
Not quite there yet.
- Brian
From: bemfarmer
16 Feb 2020   [#151] In reply to [#150]
Two connected sliders would work well.
The p slider would range in integers, from 1 to max_value, and could not exceed the current q slider value.
The q slider would range in integers, from 3 to max_value, and could not be less than the current p slider value.

This is possible, saw an example on the internet.

- Brian
From: James (JFH)
17 Feb 2020   [#152]
Rectangle2 Node

This one is pretty self evident. The proposal is not a new mode as such, but rather an extension to the existing Curves/Rectangle node, to include rectangle by 2 points and by 3 points options.



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

Image Attachments:
rectangleExtNode.gif 


From: James (JFH)
19 Feb 2020   [#153]
CloseCrv Node

The proposed node would close open curves, analogous to Michael's CloseCurve script: http://moi3d.com/forum/index.php?webtag=MOI&msg=2752.2

Also the node could have secondary function of check which of the input curves are closed or not, outputting a numArray of 1s and 0s.



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

Image Attachments:
closeCrvs.gif 


From: bemfarmer
8 Mar 2020   [#154]
It would be nice to have right_click Info available for Macros.
- Brian
From: James (JFH)
21 Mar 2020   [#155]
ExtractPts2 Node or delCorners Node

This node would be an advancement on (and replacement of) existing "ExtractPts" node.
"ExtractPts2" node would differ from it's predecessor in that it would be multi-processing and
have a pointArray output as well as, or even instead of a point Objects output.
In this way, the output may be connected to "curves" node or "Polyline" node and function analogous to "delCorners" script or "subD/convertCurveToPoly" node respectively.

"delCorners" script, which was originally written by Michael, but developed further by Max, would be the obvious starting point. It may be found on his site: http://moi.maxsm.net/item/50

This may seem like an insignificant change to an existing node, but it would in fact be of great significance to the power of NE.

Have a great weekend.
James
https://www.instagram.com/nodeology/



PS delCorners Node would simply be an analogue of delCorners script: smoothing sharped corners of a polyline.

Image Attachments:
extPts2.jpg 


From: wayne hill (WAYNEHILL5202)
22 Mar 2020   [#156] In reply to [#154]
Brian,

Are you looking to launch a help web page from the NE? The shellExecute command can launch programs. Also have a tooltip on mouse over I have been working on.

Included the link to your DoyleSprial.html and an online calculator I found in the forum under shortcuts.

Wayne
From: bemfarmer
22 Mar 2020   [#157] In reply to [#156]
Thank you Wayne.
The tooltip on mouse over is interesting.

I've been too ignorant and lazy or busy to start a webpage for the past few years. Looked at Weebly a few times on Pilou's recommendation.
I think that it would be nice to have a bare bones skeleton draft of a website. A few topics and links to various topics/projects. To build upon.

Never tried to launch a help web page.

I'll look into your .js more, as time permits.
Too much work and play projects right now.

- Brian
From: wayne hill (WAYNEHILL5202)
23 Mar 2020   [#158] In reply to [#157]
Brian,

The html help file can be located in the NE directory tree. No website required.

For the PC, this is where the html help file is located:

C:/Users/<username>/AppData/Roaming/Moi/nodeeditor/nodes/extensions/help.html

By 'launch', I mean to shellExecute the html to the browser to view. Not launch a website location on the web. Although that can be done as well as starting external programs.

Thank you,

Wayne
From: bemfarmer
23 Mar 2020   [#159] In reply to [#158]
Hi Wane,

I am using the documentation/help/Info method of Karsten.
To get the respective Info button, each node would need to have his code added. And a documentation file added to /EN.

The help/documentation files are located in nodeeditor/ nodes/ Documentation/ EN (or FR for French versions).

- Brian
From: wayne hill (WAYNEHILL5202)
23 Mar 2020   [#160] In reply to [#159]
Hi Brian,

I will study Karsten's method more closely. It did not work the first time for me, which usually means I did something wrong.

Wayne
From: bemfarmer
23 Mar 2020   [#161] In reply to [#160]
Hi Wayne.
I've used Karsten's "method" with mimic or cut or paste methods, and do not really understand anything.
- Brian

Message 9581.162 was deleted


From: bemfarmer
24 Mar 2020   [#163] In reply to [#162]
Hi Wayne,

For what it is worth, the contents of my two shortcut keys to invoke nodeeditor are as follows:

moi.ui.createDialog( 'moi://appdata/nodeeditor/index.html?scheme=Light', 'resizeable,defaultWidth:680,defaultHeight:420', moi.ui.mainWindow );

moi.ui.createDialog( 'moi://appdata/nodeeditor/index.html', 'resizeable,defaultWidth:680,defaultHeight:420', moi.ui.mainWindow );

For the second shortcut I also used James "color" scheme, rather than the default dark nodeeditor canvas.

I'll have a look at your basicFunctions.js.

- Brian

In the basicFunctions.js that I am using, appdata appears. I have not had a problem with it, as far as I know.

var docupath;
if ( document.URL.indexOf("appdata") > 0 ) { docupath = document.URL.split("index.html")[0]+"nodes\/extensions\/Documentation\/"+lang.LANGUAGE + "\/"; }
else { docupath = document.URL.split(/moi:\/\/(.*\/).*/g)[1].replace("ui","")+"nodes\/extensions\/Documentation\/"+lang.LANGUAGE + "\/"; }

The above code may have been from Karsten, (in a forum post.). I cannot exactly remember...

On a different topic, I recollect that changing Languages had some sort of problem...(mentioned in the Forum.)
From: wayne hill (WAYNEHILL5202)
24 Mar 2020   [#164] In reply to [#163]
Hi Brian,

You fixed my problem. It was the startup with "...index.html?scheme=Light" that was the issue. The info panel is working on the original basicFunction.js code. I will go back and delete my previous post.

Thank you!
Wayne
From: wayne hill (WAYNEHILL5202)
1 Apr 2020   [#165]
This is a proof of concept of a coloring Node in beta testing. It uses a javascript to reduce the image palette to a few colors so the styles are manageable. The ImgRGB node creates the styles, while the OutputRGB Node removes the styles not being used. It has circle packing and fixed mode output. Background colors are masked to focus on the circle packing main objects.
From: Frenchy Pilou (PILOU)
1 Apr 2020   [#166] In reply to [#165]
Seems very appetizing!

Show messages:  1-6  …  87-106  107-126  127-146  147-166  167-186  187-206  207-226  …  407-425