Voxel Visibility Function

Write a function `isVisible(x, y, z, size, time)`.

It should return `true` if the voxel at `(x,y,z)` is visible.

`x, y, z` are 0-indexed coordinates. `size` is the grid dimension (e.g., 20).

`time` is an animation parameter (starts at 0, increments).