mandelbrot

How can I solve exponential equation in Maxima CAS

家住魔仙堡 提交于 2021-02-10 12:54:54
问题 I have function in Maxima CAS : f(t) := (2*exp(2*%i*%pi*t) - exp(4*%pi*t*%i))/4; here: t is a real number between 0 and 1 function should give a point on the boundary of main cardioid of Mandelbrot set How can I solve equation : eq1:c=f(t); (where c is a complex number) ? Solve doesn't work solve( eq1,t); result is empty list [] Result of this equation should give real number t ( internal angle or rotation number ) from complex point c EDIT: Thx to comment by @JosehDoggie I can draw initial

Multithreading computation of Mandelbrot set

梦想的初衷 提交于 2021-02-06 14:00:16
问题 I have created a program which creates a Mandelbrot set. Now I'm trying to make it multithreaded. // mandelbrot.cpp // compile with: g++ -std=c++11 mandelbrot.cpp -o mandelbrot // view output with: eog mandelbrot.ppm #include <fstream> #include <complex> // if you make use of complex number facilities in C++ #include <iostream> #include <cstdlib> #include <thread> #include <mutex> #include <vector> using namespace std; template <class T> struct RGB { T r, g, b; }; template <class T> class

Multithreading computation of Mandelbrot set

这一生的挚爱 提交于 2021-02-06 13:59:01
问题 I have created a program which creates a Mandelbrot set. Now I'm trying to make it multithreaded. // mandelbrot.cpp // compile with: g++ -std=c++11 mandelbrot.cpp -o mandelbrot // view output with: eog mandelbrot.ppm #include <fstream> #include <complex> // if you make use of complex number facilities in C++ #include <iostream> #include <cstdlib> #include <thread> #include <mutex> #include <vector> using namespace std; template <class T> struct RGB { T r, g, b; }; template <class T> class

Java Mandelbrot visualization questions on zooming and coloring

故事扮演 提交于 2020-06-23 08:44:08
问题 I am trying to program a visualisation for the Mandelbrot set in java, and there are a couple of things that I am struggling with to program. I realize that questions around this topic have been asked a lot and there is a lot of documentation online but a lot of things seem very complicated and I am relatively new to programming. The first issue The first issue I have is to do with zooming in on the fractal. My goal is to make an "infinite" zoom on the fractal (of course not infinite, as far

How to adjust panning while zooming

无人久伴 提交于 2020-05-14 09:13:10
问题 I want to pan while zooming into a Mandelbrot set so that the fractal portion of the function stays within the window. The code outputs a series of png images to later be made into a video. Right now, I have the zooming and panning working but I do not know how to adjust the panning while the function is zooming. import numpy as np import matplotlib.pyplot as plt from os import path #6:36 @2560x1440 500 iter #2:51 @2560x1440 200 iter #0:56 @2560x1440 50 iter #1:35 @2560x1440 100 iter #0:53