And another tip to make your code look more Julian:
colorvec = replace(points3d, 0 => (:black,0.01), 1 => (:yellow,0.7)) |> vec
You don’t need to loop manually, just use the high-level replace
And another tip to make your code look more Julian:
colorvec = replace(points3d, 0 => (:black,0.01), 1 => (:yellow,0.7)) |> vec
You don’t need to loop manually, just use the high-level replace