POV-Ray : Newsgroups : povray.binaries.utilities : hilbert2d utility : Re: hilbert2d utility Server Time
3 Oct 2023 20:40:15 EDT (-0400)
  Re: hilbert2d utility  
From: jr
Date: 9 May 2018 21:09:21
Message: <5af39bc1$1@news.povray.org>

attached is a small script which converts a Hilbert curve from the
sphere_sweep to a union of boxes.

no help or anything.  to use either give it the name of an include file
generated by 'hilbert2d' or pipe the data in, eg:

  $ hcs2b.tcl mycurve.inc


  $ hilbert2d | hcs2b.tcl

the output is to stdout, and formatted like:

object {
  union {
    box {}

enjoy, jr.

Post a reply to this message

Download 'hcs2b.tcl.txt' (3 KB)

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.