Looping pattern - programmable shader + Julia sets

https://vimeo.com/835147222




As soon as Kent started talking about looping patterns I immediately thought "fractals!" But normally Blender tutorials talk about Mandelbrot zooms and it's hard to make those loop. Julia sets are easier to loop.
This was a perfect excuse to learn about programmable shaders. That kind of ruins the sessions approach though because it took way more than 2 hours to learn about shaders, and also uni was many years ago so I completely forgot wut iz complex numbers.
But if you assume the shader is done in advance, then making the looping animation took less than 2 hours! So...mission sort of accomplished?
Here is the shader if anyone wants to try:
----------
Well it looks like I can't paste code here. I'll try to put it in an image instead.

  • πŸ˜πŸ˜²πŸ˜€
  • 🀯🀩
1 love
Reply
  • Martin Bergwerf replied

    Don't know how you did that, but it's absolutely beautiful 😍

    1 love
  • Omar Domenech replied

    That is cool, specially at the end, the shape it takes looks great. I think you embodied the Sessions spirt well, branching off like that and experimenting and getting an appealing result. The 2 hour thing is sort of a challenge more than a rule. The point is too focus on the composition and artistic development more than crazy modeling or anything like that. So mission accomplished. πŸ€™

    1 love
  • postmirabilis replied

    Here are the shader nodes. The programmable shader is the "Script" node in the middle:

    3-06-11 18-02-15.png

    Here's the shader code:

    3-06-12 07-38-31.png

    3-06-12 07-38-57.png

    Here is the compositor:

    3-06-11 17-59-05.png

    • 🀟
    1 love
  • Martin Bergwerf replied

    Excellent postmirabilis ,

    Thank you!

    It's been a while since I used OSL, but this shows how powerful it can be.

    1 love
  • Kent Trammell replied

    This is incredible postmirabilis! Also the first time I've seen anyone use OSL in many years. Amazing, mesmerizing work 🀩

    1 love
  • Adrian Bellworthy replied

    Outstanding work postmirabilis

    1 love