POV-Ray : Newsgroups : povray.binaries.utilities : hilbert2d utility : Re: hilbert2d utility Server Time
18 Apr 2024 13:37:19 EDT (-0400)
  Re: hilbert2d utility  
From: jr
Date: 9 May 2018 21:09:21
Message: <5af39bc1$1@news.povray.org>
hi,

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

or

  $ hilbert2d | hcs2b.tcl

the output is to stdout, and formatted like:

object {
  union {
    box {}
     :
  }
}


enjoy, jr.


Post a reply to this message


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

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