Toot

Written by tth on 2025-01-07 at 23:14

@tth Ok, je me lance...

Un petit truc sympa avec #povray et ce qu'on peut faire avec la directive #macro :

[#]macro Bubble ()

sphere {

0, 0.10

#if ( rand(Rng1) < 0.5 )	pigment { color Cyan }

#else				pigment { color Magenta }

#end

}

[#]end

[#]macro Un_Machin ()

union {

#for (Y, -8, 8, 2)

    object { Bubble() translate y*Y*0.1 }

#end

}

[#]end

[#]declare Les_Machins = object

{

union {

#for (X, -7, 7)

    object { Un_Machin() translate x*X*0.6 }

#end

}

}

object { Les_Machins }

https://git.tetalab.org/tTh/HexaCone/commit/2ed567a33ca481a08b20384321b94ce1c121bbf0

=> View attached media

=> More informations about this toot | View the thread | More toots from tth@pleroma.interhacker.space

Mentions

=> View tth@mastodon.tetaneutral.net profile

Tags

=> View declare tag | View end tag | View macro tag | View povray tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113789611158608921
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
226.771897 milliseconds
Gemini-to-HTML Time
0.918443 milliseconds

This content has been proxied by September (3851b).