Hi. Everything runs fine with my project, however I feel like it is very slow.
I have tried messing around with the warp blocks but that hasn't worked.
Project is at Snap! Build Your Own Blocks
I have found out that it is the update block that is being slow.
Thanks in advance!
the speed seems reasonable for me as well... how fast is it running for you?
for me i only get 1fps (but i'm using an outdated loaner from my school rn so it might be bc of that)
@geokid you should try using tables
dardoro
December 19, 2023, 9:34pm
7
This script was 5 x faster for me (300 => 60 ms)
.
Calculating a sum of the neighbors is a convolution with a matrix
1,1,1
1,0,1
1,1,1
and can be easily implemented by a hyper-sum of the shifted state.
This way ~30 ms can be achieved.
EDIT, hyper-sum version
geokid
December 20, 2023, 5:35pm
8
Did you mean to use my @name ?
its a bit slow, but not too much.
how
isnt a table just a list of lists
yeah it is
or a 2-dimensional list
geokid
December 21, 2023, 7:03pm
14
Why are you telling me to "try using tables"?
geokid
December 22, 2023, 6:33pm
15
I did not start this topic. You probably thought I did because my profile picture was shown next to the link, since I was the last one to post before you posted.
ah
sorry i must of misstacken you for @lionheart921
system
Closed
January 22, 2024, 6:30pm
17
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.