techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

5.4K
active users

#declare

2 posts2 participants1 post today
Replied in thread

@tth Ok, je me lance...

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

#declare Rng1 = seed(1337);
#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

𝙇𝙪𝙘𝙮 𝘽𝙪𝙗𝙗𝙡𝙚, by Rob McGregor, 2012

𝘏𝘦𝘳𝘦'𝘴 𝘢 𝘣𝘶𝘣𝘣𝘭𝘦 𝘮𝘢𝘵𝘦𝘳𝘪𝘢𝘭 𝘤𝘰𝘥𝘦:

#𝚍𝚎𝚌𝚕𝚊𝚛𝚎 𝙼_𝙱𝚞𝚋𝚋𝚕𝚎 = 𝚖𝚊𝚝𝚎𝚛𝚒𝚊𝚕 {
𝚝𝚎𝚡𝚝𝚞𝚛𝚎 {
𝚙𝚒𝚐𝚖𝚎𝚗𝚝 { 𝚛𝚐𝚋𝚝 𝟶.𝟿𝟿 }
𝚏𝚒𝚗𝚒𝚜𝚑 {
𝚍𝚒𝚏𝚏𝚞𝚜𝚎 𝟶
𝚛𝚎𝚏𝚕𝚎𝚌𝚝𝚒𝚘𝚗 { 𝟶.𝟶𝟻, 𝟷 𝚏𝚛𝚎𝚜𝚗𝚎𝚕 𝚘𝚗 }
𝚜𝚙𝚎𝚌𝚞𝚕𝚊𝚛 𝟶.𝟿𝟿 𝚛𝚘𝚞𝚐𝚑𝚗𝚎𝚜𝚜 𝟶.𝟶𝟶𝟷
𝚌𝚘𝚗𝚜𝚎𝚛𝚟𝚎_𝚎𝚗𝚎𝚛𝚐𝚢
𝚒𝚛𝚒𝚍 { 𝟶.𝟸𝟻
𝚝𝚑𝚒𝚌𝚔𝚗𝚎𝚜𝚜 𝟶.𝟸𝟻
𝚝𝚞𝚛𝚋𝚞𝚕𝚎𝚗𝚌𝚎 𝟷.𝟸
}
}
}
𝚒𝚗𝚝𝚎𝚛𝚒𝚘𝚛 { 𝚒𝚘𝚛 𝟷.𝟶𝟶𝟷 }
}

#ポヴエイブル
#ポヴレイ
#POVaBle
#Art
#DigitalArt
#Creative
#3dart
#cgi
#ConceptArt
#render
#POVRay

Today, we build off of the 𝓉𝑒𝓇𝓂𝒾𝓃𝒶𝓁 𝓋𝑒𝓁𝑜𝒸𝒾𝓉𝓎 in the previous Drop and focus on leveling up the safety, resilience, and utility of our humble (and very likely way too populated) shell environments.

Drop #216 (2023-03-09)

EPA (Environment Protection & Agency)

#declare/#readonly; write safer scripts & communicate intent to your future self and team
#direnv/#quickenv;per-dir/project environments (Golang)
#autoenv; slightly different take on ^^ in Rust

Read/sub: dailyfinds.hrbrmstr.dev/p/drop

hrbrmstr's Daily DropDrop #216 (2023-03-09): EPA (Environment Protection & Agency)By boB Rudis