If creating a white object, sometimes the CPU will create an object that has an RGB slightly higher than (1,1,1) (like 1.001, 1.001, 1.001). This does not seem to happen on the GPU and is specific to the naive chaos kernel.
If I cannot find the error, I will just clamp the colors down to the 3rd sig fig
As an example, run examples/triangle.jl multiple times. It should appear eventually.
Maybe force all colors to be min(1, c) where c is the color
If creating a white object, sometimes the CPU will create an object that has an RGB slightly higher than (1,1,1) (like 1.001, 1.001, 1.001). This does not seem to happen on the GPU and is specific to the naive chaos kernel.
If I cannot find the error, I will just clamp the colors down to the 3rd sig fig
As an example, run
examples/triangle.jl
multiple times. It should appear eventually.Maybe force all colors to be
min(1, c)
wherec
is the color