hilbert(6x) | XScreenSaver manual | hilbert(6x) |
hilbert - 3D Hilbert fractal.
hilbert [--display host:display.screen] [--visual visual] [--window] [--root] [--window-id number] [--delay number] [--speed ratio] [--depth number] [--spin] [--wander] [-2d] [-3d] [--closed] [--open] [--max-depth number] [--thickness ratio] [--wireframe] [--fps]
This draws the recursive Hilbert space-filling curve, in both 2D and 3D variants. It incrementally animates the growth and recursion to the maximum depth, then unwinds it back.
The Hilbert path is a single contiguous line that can fill a volume without crossing itself. As a data structure, Hilbert paths are useful because ordering along the curve preserves locality: points that close together along the curve are also close together in space. The converse is often, but not always, true. The coloration reflects this.
Copyright © 2011 by Jamie Zawinski. Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. No representations are made about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.
Jamie Zawinski.
6.06 (11-Dec-2022) | X Version 11 |