Nodebundle for playing with nodes
 1-16  …  1697-1716  1717-1736  1737-1756  1757-1776  1777-1796  …  1857-1859
Thread Split: Some posts in this thread have been moved here

Previous
Next
 From:  Karsten (KMRQUS)
7777.1737 In reply to 7777.1734 
Hello James,

I'm trying to find a solution at the moment for the loop stuff - difficult, because no time and written no code since one year. By the way - Could someone explain me nested loops??? Loops in loops?


Not finished, but a first step for an experiment. Only one loop at the moment (think about a solution), but a cumulated output.

Only for experiments!

A nice day to all
Karsten

p.s.: @WN -it seems you have fun!

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  James (JFH)
7777.1738 In reply to 7777.1737 
Karsten,

Thank you for getting back to me.

The new loopEnd node looks promising.

It was clever to use splitPt - ptExt to strip out the rotational data from the point instances.

I repurposed your wiring to do a "drunken walk" (a staple introductory exercise in computer graphics).

A video can be found here:
https://www.instagram.com/p/CDi5Uw1J_5s/

nod file attached
Nested Loops

Nested loops are loops within loops...this video gives a clear description:
https://www.youtube.com/watch?v=1c1_TMdf8b8

I'm not sure how this may work with nodes. I'll see if I can build something.

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

EDITED: 6 Aug 2020 by JFH

Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Karsten (KMRQUS)
7777.1739 In reply to 7777.1738 
Hello James,
loop in a loop, not really a surprise - but I didn't know that it is called nested loops:-)
The Problem here:

- I have to use global variables that LoopEnd and LoopStart can exchange informations - at the Moment only one with a fixed Name is present
- I'm not sure what I should use for multiple ones (Maps, sets, or named ones)

- I'm not sure how the NE reacts to multiple timers? Is it neccesary?

Some experiments have to be done the next time.
And thank you for the example - I will try it in the evening!

Thank you
and
have a nice day

Karsten
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  WN
7777.1740 
Fun start fun!































  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
7777.1741 
A cool one is this

EDITED: 6 Aug 2020 by PILOU

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
7777.1742 In reply to 7777.1741 
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  James (JFH)
7777.1743 In reply to 7777.1739 
Karsten,

"not sure how the NE reacts to multiple timers?"
There is no issue with multiple timers



"Is it neccesary?"
In most cases the same timer could be utilised for multiple loops.
There would need to be a triggering of second loop after first has met end condition.

Perhaps logic/compare a=0 (end condition for earlier loop) initiates new loopStart (trigger).

"global variables"
There does need to be a means of having unique variables for each loop.
Ideally, NE would recognise multiple loopStart/loopEnd pairs and attribute unique designators. Alternatively users could manually name each node pair, which would serve as the variable name. This approach though could be fraught with difficulties in terms of UX.

Would it be possible to have direct wire link between pairs, so loopStart get a randomly generated numerical designator on placement on the canvas, & then it is sent to LoopEnd via green wire?

Another alternative would be to introduce a txt string data type wire. It could also be used to externalise text inputting into “text” node. It may well have over uses.

Please let me know
James
https://www.instagram.com/nodeology/

EDITED: 8 Aug 2020 by JFH

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Karsten (KMRQUS)
7777.1744 In reply to 7777.1743 
Hello James,
wireing is my favorite to exchange the variable names by UIDs. I don't think that we need an additional text type for that. It would also need a lot of work in the base system. Furthermore I'm thinking about time stamps as an internal critera to trigger/reset loops.
How to store and manage the loop data isn't clear for me at the moment also.
One loop is simple, multiple loops not.

Have a nice day
Karsten
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
7777.1745 
I was puzzling over the German "mit -KGV(n,m) * PI <= t <= KGV(n,m) * PI".

So, in English math the German KGV(n,m) is the Least Common Multiple of m and n.
LCM(n,m) is lcm(n,m) in Javascript. (n and m are integers in this example.)

German ggt(n,m) is the Greatest (Largest) Common Divisor, (Javascript gcd(n,m).

https://de.wikipedia.org/wiki/Kleinstes_gemeinsames_Vielfaches
(Translatable to English.)

(I do not speak German.)

- Brian
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
7777.1746 
In Max's latest version of nodeeditor, unused node dot circles are NOT colored.
I prefer them all to be colored, pink gold and teal.
Does anyone else have this behavior?
I've re-installed different versions of nodeeditor several times...

- Brian
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  James (JFH)
7777.1747 In reply to 7777.1746 
Brian,

AFAIK the Current NODE EDITOR folder has this behaviour.
http://moi3d.com/forum/index.php?webtag=MOI&msg=9358.10

James
https://www.instagram.com/nodeology/
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
7777.1748 In reply to 7777.1747 
Hi James,

I was referring to the July 2020 update of Max:
https://moi3d.com/forum/index.php?webtag=MOI&msg=7777.1718

- Brian
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  WN
7777.1749 
In the file "colors.js", from the "core " directory, line 38 has a property, 'io_highlight': false //, replace its value with true, node nodes will become colored.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
7777.1750 In reply to 7777.1749 
That works. Thank you WN.
Default setting should be "true", IMHO.

Setting io_text_highlight to "true" as well seems nice.
Edit: From Max, 2018: Alt+Left click on Info button to change highlight of io_text.

MoI4 beta must be re-opened for settings to take effect.

- Brian

EDITED: 15 Aug 2020 by BEMFARMER

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Mindset (IGNITER)
7777.1751 In reply to 7777.731 
Hello Y'all,

Is there a Truchet node?
I can't find it.

MindSet
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  James (JFH)
7777.1752 In reply to 7777.1751 
Mindset,

There is no Truchet node, but can be constructed quite easily
with an array of randomly oriented square tiles.
Try the .nod file attached.

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

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
7777.1753 
Sorry what is the meaning of "truchet" ?
That is from Sébastien Truchet ? https://en.wikipedia.org/wiki/Sébastien_Truchet
a random geometric tilling process ? So your nod ?

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  stefano (LIGHTWAVE)
7777.1754 In reply to 7777.1753 
Interesting read that Frenchy, he goes from fonts to tiles...genius.

https://en.m.wikipedia.org/wiki/Truchet_tiles
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
7777.1755 In reply to 7777.1754 
OK! You have also this cool one! ;)
Kite & Dart by Roger Penrose (Periodic, Aperiodic etc...)

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  stefano (LIGHTWAVE)
7777.1756 In reply to 7777.1755 
You might like this or get some node ideas maybe...leads onto "3d tiling".

https://www.cosmic-core.org/free/article-63-number-the-hexad-part-3-tessellations-tilings/
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
Show messages:  1-16  …  1677-1696  1697-1716  1717-1736  1737-1756  1757-1776  1777-1796  1797-1816  …  1857-1859