### Author Topic: idea of demo based on rosler attractor  (Read 12107 times)

#### HSE

• Member
• Posts: 1345
• <AMD>< 7-32>
##### Re: idea of demo based on rosler attractor
« Reply #45 on: September 15, 2018, 07:38:20 AM »
Six main rays:

Four rays:

Imposible:

#### Siekmanski

• Member
• Posts: 2275
##### Re: idea of demo based on rosler attractor
« Reply #46 on: September 15, 2018, 04:15:31 PM »
Hi Alfonso,

A small example to calculate a 6 point star image.

Code: [Select]
`const    float4 constant_pool:register(c0); // constants received from CPU#define  iResolution constant_pool.xyz  // viewport resolution in pixels (width, heigth, aspect ratio)static   float star_size = 1.0/3.0; float4 ps_main(float2 fragCoord:vpos):color // ps_3_0 input semantics, vpos contains the current pixel (x,y) location. This is only valid with ps_3_0.{    float3 color = 0.0;    fragCoord = abs(fragCoord + fragCoord - (color.rg = iResolution.xy)) / color.g;    color += 1.0 - 2.0*pow(( pow(2.0*fragCoord.x, star_size) + pow(fragCoord.x + fragCoord.y*1.7, star_size) + pow(abs(fragCoord.x - fragCoord.y*1.7), star_size))*0.333333, 1.0/star_size) - color;    return float4(color,1.0);}`
Creative coders use backward thinking techniques as a strategy.

#### Siekmanski

• Member
• Posts: 2275
##### Re: idea of demo based on rosler attractor
« Reply #47 on: September 15, 2018, 04:41:13 PM »
Stars with coloring techniques.
Creative coders use backward thinking techniques as a strategy.

#### caballero

• Member
• Posts: 1451
• Matrix - Noah
##### Re: idea of demo based on rosler attractor
« Reply #48 on: September 15, 2018, 05:10:57 PM »
That's great Marinus, thank you :t
The logic of the error is hidden among the most unexpected lines of the program

#### caballero

• Member
• Posts: 1451
• Matrix - Noah
##### Re: idea of demo based on rosler attractor
« Reply #49 on: September 15, 2018, 08:03:01 PM »
A new sprite for an old demo as a starting point
Don't forget the tune

Edited: bigger sprite and window. Can be viewed in full screen.
« Last Edit: September 16, 2018, 04:48:51 AM by caballero »
The logic of the error is hidden among the most unexpected lines of the program

#### daydreamer

• Member
• Posts: 1318
• building nextdoor
##### Re: idea of demo based on rosler attractor
« Reply #50 on: September 15, 2018, 10:45:14 PM »
this is stars I want to make starfield with
Quote from Flashdance
Nick  :  When you give up your dream, you die
*wears a flameproof asbestos suit*
Gone serverside programming p:  :D
I love assembly,because its legal to write
princess:lea eax,luke
:)

#### HSE

• Member
• Posts: 1345
• <AMD>< 7-32>
##### Re: idea of demo based on rosler attractor
« Reply #51 on: December 25, 2018, 09:59:11 AM »
Hi!!

Just beginning to play with some color changes in "orbiters". Now some minimum effect with velocity (and until 500000 points in global memory)

#### daydreamer

• Member
• Posts: 1318
• building nextdoor
##### Re: idea of demo based on rosler attractor
« Reply #52 on: December 26, 2018, 08:03:56 PM »
Hi!!

Just beginning to play with some color changes in "orbiters". Now some minimum effect with velocity (and until 500000 points in global memory)
looks good  :t
Quote from Flashdance
Nick  :  When you give up your dream, you die
*wears a flameproof asbestos suit*
Gone serverside programming p:  :D
I love assembly,because its legal to write
princess:lea eax,luke
:)

#### HSE

• Member
• Posts: 1345
• <AMD>< 7-32>
##### Re: idea of demo based on rosler attractor
« Reply #53 on: December 27, 2018, 12:00:21 AM »
looks good  :t

Thanks daydreamer!

Here is some quite amazing pattern resulting from the product of x, y and z changes. Green is 0.25-1.75 times product media, red less and blue more.

#### daydreamer

• Member
• Posts: 1318
• building nextdoor
##### Re: idea of demo based on rosler attractor
« Reply #54 on: December 29, 2018, 05:07:17 PM »
looks good  :t

Thanks daydreamer!

Here is some quite amazing pattern resulting from the product of x, y and z changes. Green is 0.25-1.75 times product media, red less and blue more.
looks good,thanks now I got ideas,make whole thing bigger and use christmasballs sprites instead?
Quote from Flashdance
Nick  :  When you give up your dream, you die
*wears a flameproof asbestos suit*
Gone serverside programming p:  :D
I love assembly,because its legal to write
princess:lea eax,luke
:)

#### HSE

• Member
• Posts: 1345
• <AMD>< 7-32>
##### Re: idea of demo based on rosler attractor
« Reply #55 on: December 30, 2018, 01:14:26 AM »
now I got ideas,make whole thing bigger and use christmasballs sprites instead?

We will see what you can do  :t

#### daydreamer

• Member
• Posts: 1318
• building nextdoor
##### Re: idea of demo based on rosler attractor
« Reply #56 on: January 01, 2019, 10:07:15 AM »
now I got ideas,make whole thing bigger and use christmasballs sprites instead?

We will see what you can do  :t
ddraw christmasball test(no attractor yet),downsized from 1920x1080 to 1024x768
not finished yet need highlight etc,realtime christmasball1 fpu,realtime christmasball2,scalar SSE
not applied clipping yet so it behaves like pixelshader code for all pixels

Packed SIMD christmasballs
« Last Edit: January 11, 2019, 07:56:00 AM by daydreamer »
Quote from Flashdance
Nick  :  When you give up your dream, you die
*wears a flameproof asbestos suit*
Gone serverside programming p:  :D
I love assembly,because its legal to write
princess:lea eax,luke
:)

#### Raistlin

• Member
• Posts: 513
##### Re: idea of demo based on rosler attractor
« Reply #57 on: January 10, 2019, 05:18:53 AM »
I cant say this on the forum
BUT i luv this sh.......
Thanks guys this is why I adore asm
Are you pondering what I'm pondering? It's time to take over the world ! - let's use ASSEMBLY...

#### daydreamer

• Member
• Posts: 1318
• building nextdoor
##### Re: idea of demo based on rosler attractor
« Reply #58 on: January 10, 2019, 05:42:53 AM »
I cant say this on the forum
BUT i luv this sh.......
Thanks guys this is why I adore asm
thanks
wouldnt it be a good idea to make this SIMD multithreaded Raistlin?I dont know how many cores each of us have except I have 4 cores on the new one,so maybe max two threads to begin with?
computing power->beautiful attractors
http://www.masmforum.com/board/index.php?PHPSESSID=af65365f793cf8023130aaf160e7c57c&board=53.0
Quote from Flashdance
Nick  :  When you give up your dream, you die
*wears a flameproof asbestos suit*
Gone serverside programming p:  :D
I love assembly,because its legal to write
princess:lea eax,luke
:)

#### Raistlin

• Member
• Posts: 513
##### Re: idea of demo based on rosler attractor
« Reply #59 on: January 10, 2019, 05:49:52 AM »
You know me toooo well
Beer and Asm and SIMD/AVX
and wife (must have mention)
and maybe the kid (12 yrs old) forever
Are you pondering what I'm pondering? It's time to take over the world ! - let's use ASSEMBLY...