Newton Fractal but different

  • 8 Replies
  • 247 Views

0 Members and 1 Guest are viewing this topic.

Offline chrizbee

  • *
  • Fractal Freshman
  • *
  • Posts: 3
« on: July 10, 2019, 04:48:58 PM »
Hey there!

As I've seen some great software out there rendering newton fractals, I've still been missing the ability to drag and drop roots with my mouse.
So I've decided to write my own :)

https://github.com/chrizbee/NewtonFractal

There is more information in the README, but here are some pictures:



There is a compiled and dynamically linked version for Windows ready to download.
Linux and Mac users have to git clone, qmake, make.

I hope you enjoy playing with this little program as much as I do!
chrizbee

Offline claude

  • *
  • 3e
  • *****
  • Posts: 1121
    • mathr.co.uk
« Reply #1 on: July 10, 2019, 05:39:31 PM »
here's mine, https://code.mathr.co.uk/fractaloids/blob_plain/3401e9ceabbf076f8301d4c7e71187f52ae36bfb:/webgl/index.html not quite the same, but works in a web browser using OpenGL


Offline superheal

  • *
  • Fractal Fanatic
  • ***
  • Posts: 38
« Reply #3 on: July 11, 2019, 02:04:16 PM »
Hello,

very nice software!

Quote
inline void func(complex z, complex &f, complex &df, const QVector<Root> &roots)
{
   // Calculate f and derivative with given roots
   quint8 rootCount = roots.length();
   if (rootCount < 2) return;

   // TODO: algorithm documentation
   complex r = (z - roots[0].value());
   complex l = (z - roots[1].value());
   for (quint8 i = 1; i < rootCount - 1; ++i) {
      l = (z - roots[i + 1].value()) * (l + r);
      r *= (z - roots.value());
   }
   df = l + r;
   f = r * (z - roots[rootCount - 1].value());
}

Do you have an extension for a second derivative?

Offline superheal

  • *
  • Fractal Fanatic
  • ***
  • Posts: 38
« Reply #4 on: July 12, 2019, 09:05:55 AM »
If you want to experiment with more types, have a look at this (https://en.wikibooks.org/wiki/Fractals/fractalzoomer)
I have compiled a list with some methods. Some of them will require a second derivative.
You can also add continuous iteration count as an option.

Offline gerson

  • *
  • Fractal Feline
  • **
  • Posts: 167
« Reply #5 on: July 12, 2019, 06:03:04 PM »
liked it too.
Suggestions: save/load parameter and render to disk (to save big images)

Offline chrizbee

  • *
  • Fractal Freshman
  • *
  • Posts: 3
« Reply #6 on: Yesterday at 01:06:51 PM »
@superheal
I did not implement that (yet). I am planning to do some more terms of Schroeder's method:


@gerson
You actually can save parameters / current settings. And it is possible to export rendered fractals, too!
Just press F1 to open settings.

Offline blob

  • *
  • Fractal Fanatic
  • ***
  • Posts: 20
« Reply #7 on: Yesterday at 02:41:05 PM »
Hello, looking good, any chance for a Win32 build?

Offline chrizbee

  • *
  • Fractal Freshman
  • *
  • Posts: 3
« Reply #8 on: Yesterday at 10:46:26 PM »
Hello, looking good, any chance for a Win32 build?
Will do when I've time. If you have Qt installed you can actually build it yourself.


xx
Newton-Raphson Fractal attempt in Xaos

Started by Know That Fractal! on Fractal Image Gallery

0 Replies
198 Views
Last post December 22, 2017, 01:40:55 AM
by Know That Fractal!
clip
Revisiting the 3D Newton

Started by gannjondal on Fractal Mathematics And New Theories

26 Replies
2003 Views
Last post October 01, 2018, 10:24:43 PM
by FractalDave
xx
Newton (gannjondal)

Started by Sabine62 on Fractal Image Gallery

0 Replies
101 Views
Last post August 15, 2018, 04:28:09 PM
by Sabine62
clip
Mandelbrot/Newton - Has it already been done?

Started by mrrudewords on Share a fractal

2 Replies
329 Views
Last post February 09, 2019, 09:35:17 PM
by mrrudewords
xx
Newton's Garden

Started by gannjondal on Fractal Image Gallery

4 Replies
329 Views
Last post April 17, 2018, 11:22:45 PM
by spain2points