Opal Pathtracer
github.comThe implementation follows from the 2024 paper “Visual simulation of opal using bond percolation through the weighted Voronoi diagram and the Ewald construction” by Soma Yokota and Issei Fujishiro.
I also wrote an article on opals an more broadly photonic crystals: https://armandsumo.com/posts/opals/