This uses binary (Base two), rather than base ten(The decimal system) to store intergers,because, although binary can take up more screen space, the code is much simpler
this project used binary instead of base ten to create a stamp-costume based array. This type of array is more storage-efficient for very large numbers
Instructions:
Set the bounds of the array with the max x and max y sliders, then press initialize, and wait until the button is **completely** gray.
Then choose x and y coords for within the array, a number from 0-255 to store, and then press assign.
When you want to retrieve a number, choose the x-y-coords, and press retrieve.
Comments
You need to be logged in to post comments
Add a Comment
im going to try to make an array offscreen!
(view all replies)Comment Reply
color based.....nice idea! now all you need is an invisible array (^_^)
(view all replies)Comment Reply
Pretty cool...I used pretty much this same technique on my Recording Piano project: (link to project) only it's buried inside the project.
(view all replies)Comment Reply
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
(view all replies)Comment Reply
This uses binary (Base two), rather than base ten(The decimal system) to store intergers,because, although binary can take up more screen space, the code is much simpler
(view all replies)Comment Reply
How does this work?
(view all replies)Comment Reply