Sujet : Re: What is a photon
De : chris.m.thomasson.1 (at) *nospam* gmail.com (Chris M. Thomasson)
Groupes : sci.physics.relativity sci.mathDate : 22. Jun 2025, 20:42:27
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <1039mb3$n647$1@dont-email.me>
References : 1 2 3 4 5 6 7
User-Agent : Mozilla Thunderbird
On 6/22/2025 10:30 AM, Chadrick Speziale wrote:
Chris M. Thomasson wrote:
thanks, you are great. Can you post the script, for me to learn, if
allowed in your country, thank you in advance. I like models in physics
and partial differential equations.
>
Well, I am keeping my n-ary field algo secret for now. However, here is
an algorithm of mine that can be considered a little bit similar in a
strange sense, just a touch:
>
https://paulbourke.net/fractals/multijulia
>
Paul was kind enough to give it a go.
that's too little for me to undrestand. I see no code, no script, whatever
you are using. Then r1 nowhere in the expression, saying that it varies
along a normal distribution, I see no distribution anywhere. Suck my dick
Huh? You don't understand the math? This can be implemented in many different programming languages. You want me to give you some of my code, my field? Mostly C++ and GLSL shader pipelines, then some Python 3 ports. Well, this is not my field code, but some of my wave code. Are you interested?
https://i.ibb.co/HfThrbW4/image.png______________________
// Fractal Parametric Wave Plotter
void ct_fwave_mpara(
ct::plot2d& plot,
unsigned int n,
ct_complex p0,
ct_complex p1,
unsigned int nr
) {
ct_complex dif = p1 - p0;
// Build the Fractal wave
ct_float abase = 1.0 / n;
ct_float abase_wave = CT_PI * 1 / n;
for (unsigned int i = 0; i < n; i++)
{
ct_float angle = abase * i;
ct_float angle_wave = abase_wave * i * nr;
ct_float y_temp = abs(sin(angle_wave)) * 1.0 / nr + (p0.imag() + (dif.imag() * angle));
// Fractal Wave High
ct_complex wp0 = {
p0.real() + (dif.real() * angle),
y_temp
};
// Fractal Wave Low
ct_complex wp1 = {
p0.real() + (dif.real() * angle),
-y_temp
};
plot.set_pixelf(wp0, CT_RGBF(1., 1., 0.));
plot.set_pixelf(wp1, CT_RGBF(0., 1., 1.));
}
}
// Fractal Parametric Wave Function
void ct_fwave(
ct::plot2d& plot,
unsigned int n,
ct_complex p0,
ct_complex p1,
unsigned int nr
) {
// For every level
for (unsigned int recur_i = 0; recur_i < n; ++recur_i)
{
// Plot the wave
ct_fwave_mpara(plot, 3072, p0, p1, nr);
// Compute next wave
nr = nr * (recur_i + 2);
}
}
______________________