POV-Ray : Newsgroups : povray.binaries.images : Pi are square : Re: Pi are square Server Time
15 Jun 2024 10:55:52 EDT (-0400)
  Re: Pi are square  
From: Paolo Gibellini
Date: 19 Mar 2023 22:27:44
Message: <6417c4a0$1@news.povray.org>
Il 15/03/2023 20:59, Bald Eagle ha scritto:
> Like Hell, they are.
> They're not even rectangular, and so aren't the least bit trivial to tesselate a
> plane with.
> I found a neat repeating pattern somewhere, and thought it would be a fun
> pavement pattern.
> So I took my Pythagorean pavement pattern that I had converted from Jerome
> Grimbert's clever source code into SDL, and modified that to make my
> much-expanded repeating unit.
> It took me a good while to figure out how to identify the basic repeating unit,
> then how to code that efficiently, and how to work the offset.  I had a few
> wrong color vectors in my index which made things confusing, here was some hinky
> stuff going on with my calculated index values, and so I had to dream up some
> corrective functions using select() and mod() to get it to work right.
> Enjoy.

Pi-day tessellation? Interesting.


Post a reply to this message

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