Skip to content

mattbierner/cube-gif

Repository files navigation

cube.gif

Volume Rendering and Slicing Gifs

cube.gif is an experiment visualizing gifs as 3D cubes by encoding animation time as another spatial dimension. We can then slice the gif cube using a plane, projecting the data back into two dimensions and producing images that capture multiple frames of the original animation.

The above image shows one of these gif cubes. The front left face is the first frame of the gif. Points on the front face of the cube map directly to pixels in the original gif's first frame. The third dimension forwards or backwards from the front face is time. This means that the left face capture the right most pixels of the gif over time.

We can slice through the cube at angle angle to create a new 2d image. The slice plane here is the plane moving towards and away from the camera. Here's the slice of the above animation.

See the documentation for more details .

Building and Running

The website uses Jekyll and Webpack for building:

$ git checkout gh-pages
$ npm install

Start Jekyll with:

$ jekyll serve -w

Start webpack with:

$ webpack --watch

Main Javascript is stored in src and output to js.

About

Volume Rendering and Slicing Gifs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages