ABOUT ME

I live in a camper van with a couple of West Highland Terriers for company.
My passion is photography but it is a work in progress.
I am always willing to share what knowledge I have and can be contacted through the comments on this post or e-mail ADRIAN
ALL IMAGES WILL ENLARGE WITH A LEFT CLICK

Sunday, 24 November 2019

THE BOY DONE GOOD.

For months I have wanted to be able to create proper fractals and have at last succeeded. Blender's EEVEE render engine does not support OSL (Open Shader Language) so you have to use Cycles and the CPU. These will animate but it is fiddly and very slow so here are a selection of still pictures. All this has been made possible by CGMATTER. Brilliant he is.
There are after all my struggles only seventeen lines of code and three of those are just closing the crochets or braces for the sub-programmes. I find it very easy to miss a bit and bits are important apparently.
Here are a few examples:


I am as happy as a dog with two tails and a T-Bone steak.
Now to work out Mandelbrots and a way of desensitising the script controls. I guess a couple of Math nodes will sort this.
Have fun, it never ceases to amaze me that Blender can do so much stuff from modelling through editing video and still images to this malarkey. Endless amusement.

17 comments:

  1. Fascinating and artistic. I assume all the small sections are exact miniature copies of the large sections.

    ReplyDelete
    Replies
    1. Yes all are repetitions. They are proper fractals a function of z² + C. It's recursive so quick to write. f(Z)=Z²+C. Popping colours on is a bit hit and miss but I will try and get a short video when I have sorted it further and understand it better.

      Delete
    2. The first time I got a computer to build up a Mandlebrot set was on a BBC B which had to run all night to have any chance of completing it.

      Delete
    3. John, I never had a computer until I got a Psion and programmed it to reduce spherical trig for position fixing at sea. Reducing star shots we called it.
      The number of recursions in these is limited to 200 as can be seen in lines (9) and (14). I guess I could go much higher but recursions are exponental so a bit of a shove soon sends the job to infinite.
      I wish I had been exposed to this stuff prior to the age of forty. Posh maths is easyish with a machine to do the work.

      Delete
  2. I sometimes wonder if you are making up all this baffling techno-speak. Adrian, just to give us mere nmortals an inferiority complex - or could it be that we're just inferior?

    ReplyDelete
    Replies
    1. Richard, the words are proper words but I sometimes wonder what the hell they mean. I just find this stuff an interesting pastime.

      Delete
  3. Well, I know when it comes to all that I'm completely inferior.

    ReplyDelete
    Replies
    1. Graham, your nephew-in-law earns a crust doing this. Believe it or not I help him when I can, poor sod if he asks me for assistance. It is a one way street, I suspect he is a Marxist. Socialists expect everything to be provided.
      I have tried to dodge using stuff that require factoring complex numbers. A complex number is the ¹-1 called i. The little one (superscript 1 it's called) is supposed to be a squiggly tick for square root. Buggered if I can make it write one. Not content with reinventing Paisley patterns I now struggle to get maths symbols in HTML. All good fun.

      Delete
    2. Graham, it still won't have it. I can write CO² unlike most climate anarchists but can I do a squiggly line can I hell. Alt 251 used to work. If you want to be a posh extension rebellionist then type CO the press Alt 0178. Make sure you do it on the number key pad like this².

      Delete
    3. Here's a few to go on with √√√√√√√√√√√√

      Delete
    4. How did you do this? I used to know the common ones but few work now.

      Delete
    5. I cheated - looked for a unicode one via Google, and cut-&-pasted it!

      Delete
    6. http://www.unicode-symbol.com/u/221A.html

      Delete
    7. That is not cheating. That is being clever. I don't ever think to look at Unicode.

      Delete
  4. This just proves it - birds of a feather ...

    ReplyDelete