Forums The Vibe Chat What is this? Video effect

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1051972
    dubstep_joe
    Participant

      At around 2:50ish you see this ‘expanding’ fractual.
      What is the real reality? – YouTube

      Anyone know what it is? Is it something to do with mandelbrot fractuals?

      I’ve seen this effect done without fractuals aswell but rather an ‘image’ that constantly ‘zooms’ out further and further.. How do they do it? ๐Ÿ˜€

      #1247364
      General Lighting
      Moderator

        its a fairly standard fractal which from memory you can zoom in and out on infinitely. Even 10-15 years ago there were many open source/free programs for generating them, though I haven’t seen one for a while now I’m sure they can still be found. Someone with a better head for maths and more modern computer graphics might be able to give more help on how to make one as its been ages since I played around with these sorts of graphics.

        #1247369
        dubstep_joe
        Participant

          Sounds interesting ๐Ÿ˜€ gonna look it up thanks

          #1247370
          dubstep_joe
          Participant

            I’ve found an C++ algorithim on the net (Mandelbrot set tutorial).

            I’ve rewritten(translated rather) into python. If anyones interested ๐Ÿ˜€

            import Image, ImageDraw

            image = Image.new(‘RGB’, (600, 600))
            ImageHeight = 600
            ImageWidth = 600

            MinRe = -2.0
            MaxRe = 1.0
            MinIm = -1.2
            #Calculate a sutible ‘max Imaginary number’ so it will be in scale
            MaxIm = MinIm+(MaxRe-MinRe)*ImageHeight/ImageWidth
            #Calculate the ‘range’ of the real/imaginary number per pixel width
            #Eg if we are looking at a range of 10, divide by 100 will give us 0.1
            #meaning each ‘0.1’ ranges maps to one pixel width/block
            Re_factor = (MaxRe-MinRe)/(ImageWidth-1)
            Im_factor = (MaxIm-MinIm)/(ImageHeight-1)

            MaxIterations = 2000

            for y in range(0, ImageHeight):
            c_im = MaxIm – y*Im_factor

            for x in range(0, ImageWidth):
            c_re = MinRe + x * Re_factor
            Z_re = c_re
            Z_im = c_im
            isInside = True
            for n in range(0, MaxIterations):
            Z_re2 = Z_re * Z_re
            Z_im2 = Z_im * Z_im

            if Z_re2 + Z_im2 > 4:
            isInside = False
            break

            Z_im = 2 * Z_re * Z_im + c_im
            Z_re = Z_re2 – Z_im2 + c_re

            if isInside == True:
            image.putpixel((x,y), (100, 255, 128))

            image.save(‘test.jpg’)[/CODE]

            May I add that I still have yet to figure out what it’s doing? ๐Ÿ˜€ getting there slowly…. grr[CODE]

            import Image, ImageDraw

            image = Image.new(‘RGB’, (600, 600))
            ImageHeight = 600
            ImageWidth = 600

            MinRe = -2.0
            MaxRe = 1.0
            MinIm = -1.2
            #Calculate a sutible ‘max Imaginary number’ so it will be in scale
            MaxIm = MinIm+(MaxRe-MinRe)*ImageHeight/ImageWidth
            #Calculate the ‘range’ of the real/imaginary number per pixel width
            #Eg if we are looking at a range of 10, divide by 100 will give us 0.1
            #meaning each ‘0.1’ ranges maps to one pixel width/block
            Re_factor = (MaxRe-MinRe)/(ImageWidth-1)
            Im_factor = (MaxIm-MinIm)/(ImageHeight-1)

            MaxIterations = 2000

            for y in range(0, ImageHeight):
            c_im = MaxIm – y*Im_factor

            for x in range(0, ImageWidth):
            c_re = MinRe + x * Re_factor
            Z_re = c_re
            Z_im = c_im
            isInside = True
            for n in range(0, MaxIterations):
            Z_re2 = Z_re * Z_re
            Z_im2 = Z_im * Z_im

            if Z_re2 + Z_im2 > 4:
            isInside = False
            break

            Z_im = 2 * Z_re * Z_im + c_im
            Z_re = Z_re2 – Z_im2 + c_re

            if isInside == True:
            image.putpixel((x,y), (100, 255, 128))

            image.save(‘test.jpg’)[/CODE]

            May I add that I still have yet to figure out what it’s doing? ๐Ÿ˜€ getting there slowly…. grr

            #1247371
            dubstep_joe
            Participant

              I’m wondering if fractal art plays a big part in milkdrop (winamps music visualator)…

              As it doesn’t seem to be a very-resource hungry, and fractal math calculations is what’s behind it (I’m guessing).

              #1247366
              DaftFader
              Participant

                @dubstep_joe 459754 wrote:

                fractal math

                I read that as Fractal Meth LOL … was thinking to my self … hmm I like the sound of that … will have to reaserch it some more see if it’s worth trying. :laugh_at:

                #1247372
                dubstep_joe
                Participant

                  And we now have colour! Need to figure out how to zoom/move now ๐Ÿ˜€

                  Interestingly, the mandrelbot does not actually include the ‘colour’ parts. It’s only the blue bug structure.
                  We can however generate colour by exploiting the algorithm. And there is tons of ways to do it…

                  There’s also other algorithms out there that generate different structures!

                  There even seems to be a image sharpening software (photoshop plugins) (Workflow Technique #028 @Digital Outback Photo) that uses fractals. Those results look amazing, and I’d say technically impossible unless they somehow figure out a ‘pattern’ that is on the image or something..:weee::weee:

                  :weee:

                  #1247365
                  cheeseweasel
                  Participant

                    Have you every read ‘Chaos’ by James Gleick? I’m currently about halfway through – explains all about chaos theory and fractals, interesting stuff.

                    #1247373
                    dubstep_joe
                    Participant

                      @cheeseweasel 459933 wrote:

                      Have you every read ‘Chaos’ by James Gleick? I’m currently about halfway through – explains all about chaos theory and fractals, interesting stuff.

                      No I haven’t I’ll try get it :D, thanks ๐Ÿ˜€

                      #1247367
                      DaftFader
                      Participant

                        @cheeseweasel 459933 wrote:

                        Have you every read ‘Chaos’ by James Gleick? I’m currently about halfway through – explains all about chaos theory and fractals, interesting stuff.

                        I saw that when you was sorting out your bag today ๐Ÿ˜›

                        #1247374
                        dubstep_joe
                        Participant

                          That book is amazing cheeseweasel and I’ve only started ๐Ÿ˜€ thanks..

                        Viewing 11 posts - 1 through 11 (of 11 total)
                        • You must be logged in to reply to this topic.

                        Forums The Vibe Chat What is this? Video effect