POV-Ray : Newsgroups : povray.animations : Dominoes : Re: Dominoes Server Time
4 May 2026 18:40:24 EDT (-0400)
  Re: Dominoes  
From: Bald Eagle
Date: 1 May 2026 06:50:00
Message: <web.69f48436cea3e23ed1d09a9825979125@news.povray.org>
"koppi" <jak### [at] gmailcom> wrote:

> I would like to have equal spacing between the dominoes, but I do not know how
> to calculate that, do you have an idea?

Luckily, I have played a lot with spirals, and needed to address this issue when
implementing Marschner's wood texture.

Here's a little scene that calculates the arc length along the spiral and uses
that to control a pigment {function {}}.

Hopefully you can see how that's all daisy-chained together and can use that to
place your dominoes.

- Bill


Post a reply to this message


Attachments:
Download 'spiralpattern.pov.txt' (4 KB)

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