tag:support.nodebox.net,2012-11-01:/discussions/nodebox-1/85-generative-alphabetNodeBox: Discussion 2020-04-14T19:07:04Ztag:support.nodebox.net,2012-11-01:Comment/418110292017-01-24T15:51:00Z2017-01-24T15:51:00ZGenerative alphabet<div><p>Hi, welcome to the community!</p>
<p>Whenever you're making this many nodes, it's probably a sign
that you should stop :-) The reason is that NodeBox was made to
automate this work for you. Probably, when you're making a system
like this, you have some process, some algorithm that you want to
describe in NodeBox. The idea is to describe this algorithm once,
then let NodeBox do the repetitive work of repeating this operation
for each letter in the sentence.</p>
<p>In NodeBox, the best way to do this is to create a subnetwork
that does your specific operation, then have an input string that
gets split (using a "make strings" node with an empty
separator).</p>
<p>The <a href="https://www.nodebox.net/node/documentation/concepts/subnetworks.html">
documentation on subnetworks</a> might be helpful.</p>
<p>If you do it correctly, you will have all the shapes on top of
each other. You can then use a stack node in the main network to
put them all side by side.</p>
<p>I have created an example in NodeBox Live, our
almost-ready-for-beta-release online version (ask me if you want an
invite). Not all nodes have the same names, but it shows the basic
system, I hope.</p>
<p><a href="https://nodebox.live/fdb/generativetype">https://nodebox.live/fdb/generativetype</a></p>
<p>Also, your English is fine, don't worry! :-)</p></div>Frederik De Blesertag:support.nodebox.net,2012-11-01:Comment/418110292017-01-25T09:52:32Z2020-04-14T19:07:04ZGenerative alphabet<div><p>Hi Frederik!</p>
<p>Thank you for your quick answer, it's very useful (I will try to follow your advises and automate my operation). Do I have to put the make strings node in the subnetwork and then publish it?</p>
<p>Yes of course for the invite than you very much (this sounds really helpful) !</p></div>DRuntag:support.nodebox.net,2012-11-01:Comment/418110292017-01-25T15:07:44Z2017-01-25T15:07:44ZGenerative alphabet<div><p>No, makeStrings goes outside of the network, just like in the
example. We want the operation to apply for <em>each</em> letter in
the word.</p></div>Frederik De Bleser