how to use: first, hit the green flag. this will randomly generate a pattern, then give you a seed. copy and paste the seed in the "enter seed" button. this will then generate the pattern by decoding the seed. (explanation in notes and credits) some cool seeds to try: 146572146572146572687868811888 "technical difficulties" 234567345672456723567234672345 "diagonal rainbow" 121121121121111111211112122221 "smiley" 446666446666666666555555999999 "scene"
a little test i decided to make for a simple seed generation system. it works by first generating a completely random array of colors. each color has its own single digit. when a tile is generated, that digit gets added to a big list. and when all the digits are put together, the list is compressed to a big ol' number called a seed. we can then input this seed back into the project, and it will decode the seed from numbers to colors and regenerate the same pattern. thats the simplest way i can explain it. also, ps, entering less/more numbers than needed will just cut part of the seed or leave parts empty. also, you may think this is pretty useless, but theres a couple instances where you could use this in an actual game. in fact, i bet you didn't know that this is a similar system to mechanics that games like balatro and minecraft use. lets show an example: imagine your game has a character creation system, with each accessory, clothing item, skin tone, hair style, etc, it will add one digit to a list. this digit would be different for each different customization option there is. this way, after compressing the list, you will get a seed that you can decode back into a character, as a sort of saving system. however, this is more of a saving system than a seed. a seed would be a little different, because a seed is usually used to replicate a scenario that is caused by rng. for example, if you get a good randomly generated world in minecraft, you might want to be able to use that world multiple times, and recreate its generation. and thats possible all thanks to a seed. thanks for listening to me talk.