This is accelerated version of the famous smallpt code. The original code can be found here. This repository uses the python-numpy implementation of the original code and uses taichi to accelerate the ...
s.register_shape('king', ((-5,-8),(5,-8),(5,-3),(4,-2),(4,0),(2,1),(2,6),(4,6),(4,7),(2,7),(2,9),(-2,9),(-2,7),(-4,7),(-4,6),(-2,6),(-2,1),(-4,0),(-4,-2),(-5,-3),(-5 ...