Comments - Generative Algorithms: Cellular Automata (CA) - Grasshopper2024-03-29T10:21:40Zhttps://www.grasshopper3d.com/profiles/comment/feed?attachedTo=2985220%3ABlogPost%3A4038&xn_auth=noHi Lorenzo,
I updated the pos…tag:www.grasshopper3d.com,2015-02-26:2985220:Comment:12325662015-02-26T20:54:03.988ZRajaa Issahttps://www.grasshopper3d.com/profile/RajaaIssa
<p>Hi Lorenzo,</p>
<p>I updated the post with new code... This should help.</p>
<p>Hi Lorenzo,</p>
<p>I updated the post with new code... This should help.</p> Hello Rajaa, it seems that I…tag:www.grasshopper3d.com,2015-02-26:2985220:Comment:12325142015-02-26T16:37:42.450ZLorenzo Franceschinihttps://www.grasshopper3d.com/profile/LorenzoFranceschini
<p>Hello Rajaa, it seems that I might need your help again ;)<br/><br/></p>
<p>we're trying to set up a 2D CA, but instead of using square grid, using the distorted grid coming from PTools. (the question of yesterday).</p>
<p>How could we set it up?</p>
<p>Thanks</p>
<p></p>
<p>Hello Rajaa, it seems that I might need your help again ;)<br/><br/></p>
<p>we're trying to set up a 2D CA, but instead of using square grid, using the distorted grid coming from PTools. (the question of yesterday).</p>
<p>How could we set it up?</p>
<p>Thanks</p>
<p></p> And one more question.
What i…tag:www.grasshopper3d.com,2012-08-05:2985220:Comment:6524542012-08-05T08:10:04.028ZNezumihttps://www.grasshopper3d.com/profile/Nezumi
<p>And one more question.</p>
<p>What is the meaning of State(j)??</p>
<p>Is it the quantity of Points?</p>
<p>And one more question.</p>
<p>What is the meaning of State(j)??</p>
<p>Is it the quantity of Points?</p> hello , Rajaa Issa, i found s…tag:www.grasshopper3d.com,2012-08-05:2985220:Comment:6522672012-08-05T08:08:44.701ZNezumihttps://www.grasshopper3d.com/profile/Nezumi
<p>hello , Rajaa Issa, i found some question about your CA script .</p>
<p>How does it create rows ? Why is the yNum must be smaller than xNum? </p>
<p>and i feel it should go like this.</p>
<p></p>
<p>'Create rows<br/> For i = 0 To State.Count() - 1 Step xNum<br/> y = 0<br/> For j = i To i + xNum - 1<br/> Dim st As Integer<br/> st = State(j)<br/> SGrid(x, y) = st<br/> y = y + 1<br/> Next<br/> x = x + 1<br/> Next</p>
<p></p>
<p>hello , Rajaa Issa, i found some question about your CA script .</p>
<p>How does it create rows ? Why is the yNum must be smaller than xNum? </p>
<p>and i feel it should go like this.</p>
<p></p>
<p>'Create rows<br/> For i = 0 To State.Count() - 1 Step xNum<br/> y = 0<br/> For j = i To i + xNum - 1<br/> Dim st As Integer<br/> st = State(j)<br/> SGrid(x, y) = st<br/> y = y + 1<br/> Next<br/> x = x + 1<br/> Next</p>
<p></p> is it the problem of the orig…tag:www.grasshopper3d.com,2012-03-02:2985220:Comment:5480592012-03-02T12:14:28.604ZKF LOKhttps://www.grasshopper3d.com/profile/kokfu89
<p>is it the problem of the original script you wrote? or it is the problem after i modified it.</p>
<p>thank you</p>
<p>is it the problem of the original script you wrote? or it is the problem after i modified it.</p>
<p>thank you</p> hello, i am new to the vbscri…tag:www.grasshopper3d.com,2012-03-02:2985220:Comment:5481452012-03-02T12:13:14.665ZKF LOKhttps://www.grasshopper3d.com/profile/kokfu89
<p>hello, i am new to the vbscript.</p>
<p>i had a question about the revised script, because i'm trying to modified the script you upload to fit my rules(<a href="http://www.grasshopper3d.com/forum/topics/vb-code-problem">http://www.grasshopper3d.com/forum/topics/vb-code-problem</a>)</p>
<p>but i figure out that the result point with start to became blank every YNum that i set</p>
<p>example: if my YNum set to 25</p>
<p>then the result of the point will start become blank for 14 points after…</p>
<p>hello, i am new to the vbscript.</p>
<p>i had a question about the revised script, because i'm trying to modified the script you upload to fit my rules(<a href="http://www.grasshopper3d.com/forum/topics/vb-code-problem">http://www.grasshopper3d.com/forum/topics/vb-code-problem</a>)</p>
<p>but i figure out that the result point with start to became blank every YNum that i set</p>
<p>example: if my YNum set to 25</p>
<p>then the result of the point will start become blank for 14 points after the 25th point in the grid, and repeating the pattern. </p>
<p></p> Attached is a revised version…tag:www.grasshopper3d.com,2011-11-23:2985220:Comment:4826132011-11-23T17:43:04.078ZRajaa Issahttps://www.grasshopper3d.com/profile/RajaaIssa
<p>Attached is a revised version of the Game of Life in grasshopper. It fixes a bug where the new state is saved on top of the old state and it causes following cells to be incorrectly evaluated. thanks to Leming for pointing this out.</p>
<p>Attached is a revised version of the Game of Life in grasshopper. It fixes a bug where the new state is saved on top of the old state and it causes following cells to be incorrectly evaluated. thanks to Leming for pointing this out.</p>