POV-Ray : Newsgroups : povray.binaries.images : --- : Re: Harmonograph simulation Server Time
7 Nov 2024 04:51:19 EST (-0500)
  Re: Harmonograph simulation  
From: AQ
Date: 9 Oct 2016 11:41:27
Message: <k96kvb1na0575fh43ehiagoa1gth70f3fr@4ax.com>
On Tue, 27 Sep 2016 12:17:18 EDT, "Bald Eagle" <cre### [at] netscapenet> wrote:

>William F Pokorny <ano### [at] anonymousorg> wrote:
>
>> Neat! I'd like to see the source code.
>>
>> Bill P.
>
>I was interested too, and just grabbed some info from Wikipedia and worked out
>something functional.
>My head was not in "function-space" at the time, so I just embedded the formulas
>in the loop.
>I think initially I was going to try to make it an isosurface...
>
>The HSV to RGB macros are copied into the SDL to keep the parse time down, as I
>haven't had the roundtuits to install 3.71-etc
>
>I was surprised and delighted to see how closely related these are to Lissajous
>figures, which I was just recently fiddling with.  I guess if there's no
>damping, then they are identical things.
>
>I haven't implemented the moving paper portion of the code yet.
>
>Now we just need an animated inverse kinematic harmonograph machine to go with
>the output...   :D
>
>I haven't gotten anything near as beautiful as Anthraquinone did - I guess it's
>all in the skill of acquiring a good feel for the oscillation parameters, and
>writing up a nice texture for the trace.
>

You have a lot of parameters to play with there.  
I simplified the code a bit so I could try to understand it and changed the colouring
again for simplicity. It needs to be simple for me to understand
it.  I had not seen those macros before.  I will have to have a look at them later.

AQ


Post a reply to this message

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