POV-Ray : Newsgroups : povray.off-topic : Another day, another failure : Re: Another day, another failure Server Time
4 Sep 2024 05:19:08 EDT (-0400)
  Re: Another day, another failure  
From: Nekar Xenos
Date: 28 Apr 2010 00:51:24
Message: <op.vbuvrsjcufxv4h@xena>
On Tue, 27 Apr 2010 12:58:51 +0200, Invisible <voi### [at] devnull> wrote:

> I wrote a small program to plot a logarithmic scale. Although it's wider  
> at one end than the other, it doesn't look quite right to me. And when I  
> attempted to do some calculations with it, I got gibberish answers.
>
> Upon further investigation, I discovered that my logarithmic scale is  
> not, in fact, logarithmic. It fails to have at least two properties that  
> a propper log scale should have:
>
> Fact #1: The distance from 1 to 2 should equal the distance from 2 to 4.
>
> Fact #2: The distance from 1 to 2 should equal the distance from 10 to  
> 20.
>
> Looking at my scale, the distance from 10 to 20 is about a dozen times  
> larger than from 1 to 2. EPIC FAILURE.
>
> As I said, the tick marks aren't equally spaced - so it's not a linear  
> scale. But it's also not properly logarithmic either. God only knows how  
> I've managed to get something this trivial so badly wrong... :'{

It reminds me of my first attempt at a Mandelbrot render on my old 48k ZX  
Spectrum. It looked like a skew Mandelbrot set. I think I had "-1" in the  
recursion that shouldn't be there... :)

-- 
-Nekar Xenos-

"The spoon is not real"


Post a reply to this message

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