Storing patterns as numbers
Posted: Sun Jul 14, 2024 10:46 pm
This idea started when I saw Object's Heap Storage, seen here. And I misunderstood heaps as a large Number Storage, (if that is what they are, please let me know), and that made me think if you could "compact" a Hex into numbers. After a bit of digging around with the Hex Addons, I found that you could use Hex Bound's Fragment's Purf,, and Winding Pruf to find the number of patterns in a pattern, and find the direction of a pattern; so mixing those 2, and some number shifting, you could turn a Hex into a number.
Likely the format would be StartingNumber BendNumber BendNumber... and so on. The main question is would it be worth it. I thought so since Hex stores its numbers as Doubles, or a max of 9007199254740992, but that is only about 15 bends in a single pattern let alone a full on Hex. I do still think the idea of storing Hexes as numbers would be cool, but number compression would need to be used, and sadly that is out of my knowledge level.
Likely the format would be StartingNumber BendNumber BendNumber... and so on. The main question is would it be worth it. I thought so since Hex stores its numbers as Doubles, or a max of 9007199254740992, but that is only about 15 bends in a single pattern let alone a full on Hex. I do still think the idea of storing Hexes as numbers would be cool, but number compression would need to be used, and sadly that is out of my knowledge level.