Logo by Trifox - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Visit the official fractalforums.com Youtube Channel
 
*
Welcome, Guest. Please login or register. April 25, 2024, 06:25:42 AM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1] 2   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: Share your interesting mistakes  (Read 4763 times)
Description: Share your best mistakes.
0 Members and 1 Guest are viewing this topic.
fractower
Iterator
*
Posts: 173


« on: October 04, 2011, 04:34:10 AM »

Hi All

Maybe you made an odd number of sign errors, maybe you mis-declared a float as an int... The real question is why are mistakes often more interesting than successes. Please share your interesting failures. Also try to explain your mistake so we can laugh at you.

To start off the process, I mis-copied the icosahedron coords from Google to produce this  faux pas.


* interesting_typo_500x500.jpg (74.55 KB, 500x500 - viewed 456 times.)
Logged
David Makin
Global Moderator
Fractal Senior
******
Posts: 2286



Makin' Magic Fractals
WWW
« Reply #1 on: October 04, 2011, 03:55:20 PM »

Here are a couple of images that came from a mistake with respect to periodicity colouring - for some obscure reason I used abs(|z|-|older value|) instead of |z-older value| and these are a couple of the results (just z^2+c Julias):

An Orchid:


Orchid 2:
Logged

The meaning and purpose of life is to give life purpose and meaning.

http://www.fractalgallery.co.uk/
"Makin' Magic Music" on Jango
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #2 on: October 04, 2011, 04:58:52 PM »

Probably all my formulas are mistakes (some neither interesting... evil undecided cheesy )
Logged

No sweat, guardian of wisdom!
lkmitch
Fractal Lover
**
Posts: 238



« Reply #3 on: October 04, 2011, 05:21:32 PM »

Dave, did you make a mistake in posting your image?  A mistake on a mistake thread--does that mean you did it right?   smiley
Logged
knighty
Fractal Iambus
***
Posts: 819


« Reply #4 on: October 04, 2011, 05:24:15 PM »

Inverse iteration julia that gone wrong!  cheesy
Here is the evaldraw wersion. The original version was in turbo pascal done a loooong time ago grin.
Code:
() 
{
enum {SIZE=512,PRECALC=100, PARTNUM=10};
static tab[SIZE][SIZE];
static extabr[10000],extabg[10000],extabb[10000];
static expo,HSIZE,QSIZE,i1,j1;

if (numframes==0){
   HSIZE=SIZE/2;
   QSIZE=SIZE/4;
   expo=1.0;expor=0.5;expog=0.5;expob=0.025;
   for (i=0; i<1000;i++){
      extabr[i]=256*(exp(-expor*i/256));
      extabg[i]=256*(exp(-expog*i/256));
      extabb[i]=256*(exp(-expob*i/256));
   }
   i1=0;j1=0;
}

al=alpha(); be=beta();

for(i=0;i<SIZE;i++)
   for(j=0;j<SIZE;j++) tab[i][j]=0;

//cls(255,255,255);
cls(255,255,255);

x=100; y=100; INFRM=-1/1000;
   for (i=0;i<PRECALC;i++)
   {
      a=x-al;
      b=y-be;
      x=sqrt(a*a+b*b);
      y=sqrt((x-a)*0.5);
      x=sqrt((x+a)*0.5);
      if (b<0) y=-y;
      a=rdm();b=rdm();
      x*=a; y*=b;//we should do y*=a instead :)
   }
   do
   {
      for (i=0;i<PARTNUM;i++)
      {
         a=x-al;
         b=y-be;
         x=sqrt(a*a+b*b);
         y=sqrt((x-a)*0.5);
         x=sqrt((x+a)*0.5);
         if (b<0) y=-y;
         a=rdm();b=rdm();
         x*=a; y*=b;//we should do y*=a instead :)
         
         //putpixel(x,y);
         i1=x*QSIZE+HSIZE;
         j1=y*QSIZE+HSIZE;
         tab[i1][j1]+=1;
         c=(1-exp(INFRM*tab[i1][j1]))*1000;
         setcol(extabr[c],extabg[c],extabb[c]);
         setpix(i1,j1);
      };
   }while((al==alpha())&&(be==beta()));
}

rdm()
{
   a=RND;
   if (a>0.5) return 1;
   return -1;
}

alpha()
{
   return 4*(mousx-0.5*xres)/xres;
}

beta()
{
   return 4*(mousy-0.5*yres)/xres;
}

putpixel(x,y)
{
   setpix(x*0.25*xres+0.5*xres,y*0.25*xres+0.5*yres);
}


* yes_it_is_a_BUG.JPG (30.84 KB, 344x418 - viewed 623 times.)
Logged
fractower
Iterator
*
Posts: 173


« Reply #5 on: October 04, 2011, 05:58:42 PM »

David's broken links prove that two wrongs don't make a right, but they do add the humor value. Therefore I am awarding you the "Null Pointer" award. It's after midnight and somewhere in the 2000 lines of code you just wrote in a caffeine induced frenzy is a run away link list. Bless your heart (A colloquialism in the Southern US that translates to "Sucks to be you.")

Darkbeam, Darkbeam, Darkbeam. Bless your heart. Honesty is not the best policy.

Knight gets the "Nan" award. I was originally going to rename it the "Not a nerd" award, but I have been reading your posts. I suspect you could quote the IEEE definition of a nan then argue that the square root of negative one is a perfectly good number in the complex scalar field.

Logged
kronikel
Navigator
*****
Posts: 79



« Reply #6 on: October 04, 2011, 06:35:37 PM »

I had plenty of these, I'll have to start saving them now.
A mistake in the diamond square algorithm recently carved the sierpenski triangle into my mountainside  shocked
Logged
Yesiamjames
Forums Freshman
**
Posts: 19



« Reply #7 on: October 04, 2011, 08:47:35 PM »

This is the result of my first attempt at programming a mandelbrot rendering program. I have no freaking idea what this is.

Logged
fractower
Iterator
*
Posts: 173


« Reply #8 on: October 04, 2011, 09:10:24 PM »

It looks vaguely familiar. I think it may be a Mandelwhat. For your effort you get the "+inf" award. It has escaped already. Give it a break.
Logged
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #9 on: October 04, 2011, 10:24:28 PM »

I had plenty of these, I'll have to start saving them now.
A mistake in the diamond square algorithm recently carved the sierpenski triangle into my mountainside  shocked

Leave it! And add also some mandelboxes around (houses) and some mandelbulbs (bushes) grin
Logged

No sweat, guardian of wisdom!
fractower
Iterator
*
Posts: 173


« Reply #10 on: October 04, 2011, 10:40:22 PM »

Quote
I had plenty of these, I'll have to start saving them now.
A mistake in the diamond square algorithm recently carved the sierpenski triangle into my mountainside

Are you sure it was an artifact. It might have been a petroglyph from an ancient tribe of mathematicians.
Logged
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #11 on: October 04, 2011, 11:45:57 PM »

ok, here comes my bit, it happened some years ago, when playing around with hybrid/alternating combinations, and implementing the complex multiplication wrongly:

http://www.fractalforums.com/index.php?action=gallery;sa=view;id=10



Logged

---

divide and conquer - iterate and rule - chaos is No random!
Sockratease
Global Moderator
Fractal Senior
******
Posts: 3181



« Reply #12 on: October 05, 2011, 12:11:29 AM »

I'm no programmer any more, but I got this playing with Mandelbulb 3D.  I started with one of my old files and wanted to see what reflections would do to it.

Started it rendering and saw it wanted 3 hours!  So I stopped it.  Then noticed it was high resolution at 1:3 view, so when I set it back to 1:1, and got the usual distortions that causes when interrupting a render, it looked like this:



Wow.
Logged

Life is complex - It has real and imaginary components.

The All New Fractal Forums is now in Public Beta Testing! Visit FractalForums.org and check it out!
kronikel
Navigator
*****
Posts: 79



« Reply #13 on: October 05, 2011, 12:34:14 AM »

Quote
Are you sure it was an artifact. It might have been a petroglyph from an ancient tribe of mathematicians.
It's all becoming so clear now... ancient mathematicians must have embedded the sierpenski triangle into my mind causing me to subliminally write it into my algorithm!
o.O

@cKleinhuis - That looks like some crazy evil face wearing an upside down cowboy hat
« Last Edit: October 05, 2011, 12:37:05 AM by kronikel » Logged
lycium
Fractal Supremo
*****
Posts: 1158



WWW
« Reply #14 on: October 05, 2011, 02:55:12 AM »





« Last Edit: October 05, 2011, 02:57:54 AM by lycium » Logged

Pages: [1] 2   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Just something I want to share.. Non-Fractal related Chit-Chat titia 5 2355 Last post February 06, 2007, 08:48:13 AM
by titia
Apo Image I just had to share Images Showcase (Rate My Fractal) doncasteel8587 3 1514 Last post March 13, 2007, 10:24:35 PM
by ramblerette
Smiles to Share =) Meet & Greet Epiphany 4 1195 Last post July 15, 2008, 05:57:09 PM
by Sockratease
Iintroduce myself and share my first video. Images Showcase (Rate My Fractal) siquier 3 955 Last post July 10, 2014, 12:27:41 AM
by Pauldelbrot
Share your interesting places in famous fractals Mandelbrot & Julia Set solendil 5 2937 Last post September 09, 2015, 05:29:45 PM
by Kalles Fraktaler

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.167 seconds with 24 queries. (Pretty URLs adds 0.012s, 2q)