News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

idea of demo based on rosler attractor

Started by daydreamer, December 03, 2017, 07:36:55 AM

Previous topic - Next topic

avcaballero

Quote from: HSE on August 26, 2018, 02:56:35 AM
I have to study how to sort points because in this simple way I'm drawing hidden points over visible points  :(
Nicely done :t

six_L

Say you, Say me, Say the codes together for ever.

daydreamer

Quote from: HSE on August 26, 2018, 02:56:35 AM
I have to study how to sort points because in this simple way I'm drawing hidden points over visible points  :(
looks great :t
but maybe a simple way with blending would be an option:
pixel=(newpixel+oldpixel)/2
or if you use many different colors, do this for each Red,green,blue channel
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

HSE

Quote from: daydreamer on August 26, 2018, 07:13:22 PM
pixel=(newpixel+oldpixel)/2

That could be better than now, but it's not the solution. Thanks.
Equations in Assembly: SmplMath

HSE

An initial solution, but only 20000 points now  8).
Equations in Assembly: SmplMath

avcaballero

Good point, Héctor. Here is my version, just a starting point, I have to improved it. No zbuffer, etc. When finished, if anyone interested, I may release the source code. Nacho división :eusa_boohoo:

HSE

#36
Fantastic  :t

We will be waiting source code  :biggrin:.
Equations in Assembly: SmplMath

avcaballero

No more time working on it, so here are the source codes. A lot of improvements can be done.

Just a few news:
- A brighter color for the points
- Zbuffer applied. Points in the background should be in the background now.

The program takes a little while to initiate. After that, if you wait for a few minutes you will see all its attractive as all the points start to displace rotating visibly

Komplot :eusa_boohoo:

HSE

Equations in Assembly: SmplMath

daydreamer

Great caballero  :t
Wouldn't it be possible to use stars instead of points and scale it in one axis to 15% so you get a milky way kinda galaxy?
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

HSE

Some luminous effect to follow the "orbiter"  :biggrin:
Equations in Assembly: SmplMath

avcaballero


Siekmanski

Creative coders use backward thinking techniques as a strategy.

avcaballero

Regarding this subject. I have been trying to simulate a star by code, drawing it. But the results are not very realistic. I left here a program in the first stage.

The principle is:
  - Drawing four larger light rays on the main axes of the plane
  - Other shorter four oblique to the previous ones
  - A central circle diffusing as it moves away from the center
 
As it has not convinced me too much, if you press the "1" button, this box will be blurred. Then four different quadrants appear, it would be interesting to know the opinion of which could be more realistic, if any

Maybe the first stage is not so bad after all.

Thank you.

avcaballero

Hhhhhmmm Maybe another idea is, defining some directions on random for example and diffusing it as going further from the center.