News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Burning ship fractal program

Started by NoCforMe, July 14, 2023, 04:19:40 AM

Previous topic - Next topic

daydreamer

Quote from: raymond on July 19, 2023, 11:45:29 PMNO. Complex maths were not covered in high school, neither in chemistry classes at university. Only became aware of complex math when I was introduced to fractals later in life. And, desk tops were barely coming onto the market when I retired in '88 (i.e. 35 years ago!!!!).
I started to appreciate Fern plant and nature more after seen fractals and wondered if a human is a really complex fractal?

I also enjoyed these related strange attractors
https://masm32.com/board/index.php?topic=9402.0
my none asm creations
https://masm32.com/board/index.php?topic=6937.msg74303#msg74303
I am an Invoker
"An Invoker is a mage who specializes in the manipulation of raw and elemental energies."
Like SIMD coding

NoCforMe

Well, speaking as the author of that fractal program (Burning Ship), I can confidently say that no complex math at all went into that code. At least nothing explicitly complex (meaning anything having to do with √-1).

Here are the iterative formulae I used: you'll note nothing complex in them.
Assembly language programming should be fun. That's why I do it.

daydreamer

Quote from: NoCforMe on July 20, 2023, 09:42:32 AMWell, speaking as the author of that fractal program (Burning Ship), I can confidently say that no complex math at all went into that code. At least nothing explicitly complex (meaning anything having to do with √-1).

Here are the iterative formulae I used: you'll note nothing complex in them.

great candidate for SIMD version :thumbsup:
my none asm creations
https://masm32.com/board/index.php?topic=6937.msg74303#msg74303
I am an Invoker
"An Invoker is a mage who specializes in the manipulation of raw and elemental energies."
Like SIMD coding

NoCforMe

But it works fine with the FPU; why would I want to use SIMD?

And isn't SIMD lower precision than FPU (80-bit REALs)?
Assembly language programming should be fun. That's why I do it.

daydreamer

Quote from: NoCforMe on July 22, 2023, 04:02:58 AMBut it works fine with the FPU; why would I want to use SIMD?

And isn't SIMD lower precision than FPU (80-bit REALs)?
I dont know whats required precision for Screen resolution xmax= ca 2000 (word),ymax = ca 1500 (word) ?,repeated calculation 3 million times can be loss of precision

I have never tested gdi with SIMT ,each thread draws part of image using its own fpu and getdc


my none asm creations
https://masm32.com/board/index.php?topic=6937.msg74303#msg74303
I am an Invoker
"An Invoker is a mage who specializes in the manipulation of raw and elemental energies."
Like SIMD coding

NoCforMe

But you didn't answer the question: is SIMD lower resolution (meaning # of bits) than FPU or not? (I actually don't know myself.)
Assembly language programming should be fun. That's why I do it.