Liste des Groupes | Revenir à s math |
On 3/8/2025 3:54 PM, Richard Hachel wrote:Python already gave the answer. Please read. This silly rule transforms the Mandelbrot set into a square :)A nice contributor pointed out that the imaginary universe based on i, which is an interesting idea to find roots to equations that do not have any, that is to say, roughly, to find the roots of the symmetric curve pointed at $(0,y) in the Hachel system.Give me your version of the addition and multiplication functions of your new version, and I should be able to try it out.
>
Although physicists use incorrect complex products, since for me, the real part of a complex product is (aa'+bb'), and not (aa'-bb'), they nevertheless manage to find pretty figures.
>
So I wondered, what would happen if, instead of working with their equations, we worked with mine.
>
Into what strange world would we fall, if, instead of using Z=aa'- bb'+i(ab'+a'b), we used the much more logical and natural equation Z=aa'+bb'+i(ab'+a'b).
>
How would the "Mandelbrot" or the "Julia" obtained be less pretty?
>
Isn't beauty the splendor of truth?
Here are mine, using my JavaScript code from:
(note: the vectors are 2-ary here)
https://fractallife247.com/ct_main.js
For addition:
__________________________
function ct_vec2_add(v0, v1) {
return [v0[0] + v1[0], v0[1] + v1[1]];
}
__________________________
For Multiplication:
__________________________
function ct_vec2_complex_mul(v0, v1) {
var x = v0[0] * v1[0] - v0[1] * v1[1];
var y = v0[0] * v1[1] + v0[1] * v1[0];
return [x, y];
}
__________________________
Also, a length of a vector might be useful to me even though I can infer it from your versions of the two functions above:
__________________________
function ct_vec2_length(v0) {
return Math.sqrt(v0[0] * v0[0] + v0[1] * v0[1]);
}
function ct_vec2_complex_abs(v0) {
return ct_vec2_length(v0);
}
__________________________
So, give me your versions of the functions using your new stuff, mainly (addition and multiplication), and I will give it a go when I get some free time to burn. Giving me a length would also help me. Otherwise I will just use the traditional version. I am interested in what it might actually look like via a plot...
Les messages affichés proviennent d'usenet.