553 questions
0 votes
0 answers
70 views
Strange black borders on count changes with cmath on my python fractal render
I recently wrote a program which renders the mandelbrot set and encountered some irrelevent issues, which some helpful users solved for me. One user reccommended I change an aspect of my code for ...
3 votes
2 answers
129 views
The output of my fractal program is in 4 inverted quarters
I am trying to make a python program that can render the mandelbrot set. My full program can output an image of the set, but for some reason, it displays it cut up into opposite facing quarters. This ...
2 votes
1 answer
101 views
Mandelbrot set Coloring Error Around Period-2 Bulb (not colormap related)
I wrote some code to render the Mandelbrot set with continuous coloring, but the bulbs on the period-2 blub are not colored correctly. regions that should not escape are colored as though the escape ...
3 votes
1 answer
99 views
Mandelbrot coordinates to Julia set
I was working on a Mandelbrot set at first, then added a Julia set to the same window. The problem is I don't know the formula for my exact situation. Also, the Julia set slid to the bottom-left side. ...
2 votes
0 answers
121 views
Fastest way to find eigenvalues and Eigenvectors for VERY large matrices
I am trying to find the eigenvectors and eigenvalues for very large square symmetric matrices. They are Laplacian matrices on the vicsek fractal. The matrices are in the scale of (5n ⋅ 4 + 1) where i ...
2 votes
1 answer
94 views
Is there an L-system representation for Polya's Triangle Sweep?
I am currently reading the book "The Fractal Geometry of Nature" by Benoit Mandelbrot. I tried to write a program to visualize some of the curves found in the book by using L-system ...
3 votes
0 answers
53 views
Fractal Nested Transformation off by a few points P5JS
Note: I am not 100% sure if this question belongs here, as I dont know if the error is in the programming or in the math, please excuse me and direct me to where to post it Hi, I am trying to make an ...
-1 votes
1 answer
92 views
Absolute id of fractal subobjects by layer
I want to create a function to get absolute id of fractal subobject by layer/row and column id. In an fractal object there are repeating subobjects, you can split them into layers. Any object with ...
1 vote
0 answers
107 views
The efficient approximation algorithm of mandelbrot set?
While implementing the mandelbrot set using java, I found that the rendering time of the program is ridiculously slower than other programs. public class FractalFormula { private Complex[] ...
0 votes
0 answers
135 views
A function to draw randomized koch snowflake
I have a function, that draws a koch snowflake, but i have to change it to draw a randomized koch snowflake, that means: To obtain it, it is sufficient to rotate the new vertex inward or outward at ...
-1 votes
1 answer
1k views
Raylib DrawTexture performance
I am wondering about performance in Raylib, especially using the DrawTexture and NewImageFromImage functions. I have the code below, it's written in Go so I am using the go-bindings found here : https:...
5 votes
5 answers
672 views
How to make faster Mandelbrot set plot
Ive written a function which uses turtle to draw a Mandelbrot set, however its very slow (~10's minutes) for any decent resolution, how could I make my code more efficient? import math, turtle screen ...
1 vote
1 answer
71 views
How can I convert this iterative loop to a recursive one?
At the moment, I'm working on a fractal renderer for stuff like the Mandelbrot set for my computer science coursework, and I want to use recursion instead of iteration on the function below since it ...
2 votes
1 answer
237 views
Fractal Tree in P5.js
I've been trying to create a simple fractal tree program using P5.js, for displaying on a website, but I seem to be getting unexpected behavior. Code and picture attached. function setup() { ...
3 votes
0 answers
89 views
Rotating a fractal tree with branches in p5js by x-axis
I'm a newbie in coding and I have been playing with Fractal tree and OOP from the Coding Train videos. The tree is generated as object trunks with its child branches in constructor function. class ...