Game Of Life Render
Having completed my game of life script I wanted to get a nice render of it, which I've finally gotten around too.
I wanted to make a grid of marbles, each different colours, however having around 2000 in total in the scene that was not gonna happen by assigning them manually. After a lot of trial and error I found a way to get what I wanted. First I created a procedural texture of squares, each different colours from the 6 base colours I chose. I then positioned this under the spheres. I gave every sphere a completely see through glass material, and disabled primary viability of the plane. This meant the refracted colour of the plane could be seen in the marbles but not the marbles themselves. I think this worked pretty well, definitely more efficient than assigning all the objects a material.