powered by
Generate voxel coordinates for a sphere centered at the origin
gen_sphere(r = 10)
data.frame of voxel coordinates
radius. Default: 10
gen_sphere(1) |> isocubesGrob() |> grid::grid.draw()
Run the code above in your browser using DataLab