r/geometrynodes • u/Mikel_mech • 2h ago
Help with replacing the random Node with a Bitmask
Hello guys,
I am currently working on a project to create a "Coding Pattern" to simulate a process.
I used a "Random Value Node" with the "Data Type: Integer".
Now I want to replace that Node with a random generated Bitmask I get from my Python Skript.
This has the reason that I want to know which code is applied to the pattern. Because I save the code in a csv-file and the linked rendered picture next to the value.
How can I do this, because I connected a "instance on points nodes" and a seperate geometry node to the random output before. But now I have a whole Bitstring and the nodes have to read it Bitwise.
Can I somehow convert the String value I get from the Bitstring into an index that I can feed into these nodes or what is the answer here?