i worked it out...there are 100,000,000,000 possible dimensions (100 billion)and each dimension can have 400 slots.each slot has a value of -999 to 999
i know it would be VERY hard to make, since u would need like 5000 variables per mouse, but it might be doable with onscreen marking, though it would have to be covered up. if scratch gets real arrays i am making that the second I find out
here ya go, I know it will be great!(if u can make it that is) http://www.onemorelevel.com/game/cursor10 if scratch had real arrays I woulda made this weeks ago
hmmmmm this appears to have potential, seeing as scratch does not actually have arrays yet. My attempts to make an onscreen array that plays back mouse movement was.....mostly successful. Im gonna try to do it with this now!
Hi chalkmarrow! Come cheack out my latest project on my user. I'm sure you'll love it!^_^ Click on my user name to viwe my latest project. -Mariotornado-
Hi Chalkmarrow - sorry to beat you to the BBP formula...it was an accident, I hadn't even heard of it before yesterday when I came across it on the web. Still, there's nothing to say you can't do a project on it too...I'm sure it would be a different and amusing take on it. Or, I really wish somebody would do Archimedes method, with the circle "trapped" between polygons with more and more sides! It would take somebody with more patience than I!
On second thought, we don't need some of those operations until we have a second matrix! Personally, I think I'll wait until I have an application before I take a whack at it. BTW - I love your instructions with the relevant Scratch blocks used as buttons!
Very slick! I like the dynamic redimensioning feature. Two dimensional matrices in Scratch, who woulda thunk it? Now we need to write a library of matrix operations: Transpose, Identity, Invert, Determinant, Multiply, Add, Scaler Multiply, and so on. This is so cool!
A set of sprites that provide an array having 100 or less values. Just copy the matrix1-10 sprites to your project, and use these three broadcasts:
Dimension a(i,j) : Defines how many rows and columns are in the array (max: i x j=100)
value=a(i,j): Sets the global variable "value" to the value in the array at (i,j).
a(i,j)=value: Sets the value of the array at (i,j) with "value."
Comments
You need to be logged in to post comments
Add a Comment
is that right?i did it on a sheet of paper
(view all replies)Comment Reply
Well, it will only store 100 real numbers (positive or negative). It is two dimensional, so it can have 100x1, 10x10, 2x50, etc.
(view all replies)Comment Reply
i worked it out...there are 100,000,000,000 possible dimensions (100 billion)and each dimension can have 400 slots.each slot has a value of -999 to 999
(view all replies)Comment Reply
let me get my calculater...
(view all replies)Comment Reply
wait...there are ten to the power of ten matrix dimensions,20*20 slots and a slot can have a value of minus 999 to 999
(view all replies)Comment Reply
how many numbers can you store,and could you do it in minus numbers?
(view all replies)Comment Reply
i still think u can do it
(view all replies)Comment Reply
i know it would be VERY hard to make, since u would need like 5000 variables per mouse, but it might be doable with onscreen marking, though it would have to be covered up. if scratch gets real arrays i am making that the second I find out
(view all replies)Comment Reply
here ya go, I know it will be great!(if u can make it that is) http://www.onemorelevel.com/game/cursor10 if scratch had real arrays I woulda made this weeks ago
(view all replies)Comment Reply
Wow. I didn't get it at first, but that is a really clever game. Tricky in scratch...
(view all replies)Comment Reply
hmmmmm this appears to have potential, seeing as scratch does not actually have arrays yet. My attempts to make an onscreen array that plays back mouse movement was.....mostly successful. Im gonna try to do it with this now!
(view all replies)Comment Reply
Good idea. I liked your mouse playback project. I'm thinking of making a larger set of array sprites and incorporating it into some type of project.
(view all replies)Comment Reply
Nice! What is the performance compared to the the pen array method. (of course this is much more flexible.) I'll have to play with this.
(view all replies)Comment Reply
Hi chalkmarrow! Come cheack out my latest project on my user. I'm sure you'll love it!^_^ Click on my user name to viwe my latest project. -Mariotornado-
(view all replies)Comment Reply
brilliant! I heard people talking about calculating matricies on scratch and aparently you did it!
(view all replies)Comment Reply
and what's all this math
(view all replies)Comment Reply
what's a matrix?
(view all replies)Comment Reply
Hi Chalkmarrow - sorry to beat you to the BBP formula...it was an accident, I hadn't even heard of it before yesterday when I came across it on the web. Still, there's nothing to say you can't do a project on it too...I'm sure it would be a different and amusing take on it. Or, I really wish somebody would do Archimedes method, with the circle "trapped" between polygons with more and more sides! It would take somebody with more patience than I!
(view all replies)Comment Reply
Brilliant idea and implementation - strings next?
(view all replies)Comment Reply
Excellent! Using sprites as data constructs is definitely clever. I also love the pink error boxes...
(view all replies)Comment Reply
On second thought, we don't need some of those operations until we have a second matrix! Personally, I think I'll wait until I have an application before I take a whack at it. BTW - I love your instructions with the relevant Scratch blocks used as buttons!
(view all replies)Comment Reply
Very slick! I like the dynamic redimensioning feature. Two dimensional matrices in Scratch, who woulda thunk it? Now we need to write a library of matrix operations: Transpose, Identity, Invert, Determinant, Multiply, Add, Scaler Multiply, and so on. This is so cool!
(view all replies)Comment Reply