#sierpinski — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #sierpinski, aggregated by home.social.
-
@scruss The PICTURE command can group objects, and also output SVG animations. Although I’ve made a screen recording here as animated SVGs aren’t accepted
TO CORNER :S
RIGHT 45 FORWARD :S RIGHT 45
ENDTO ONESIDE :S :DIAG :LEVEL
IF :LEVEL = 0 [ STOP ]
ONESIDE :S :DIAG :LEVEL - 1
RIGHT 45 FORWARD :DIAG RIGHT 45
ONESIDE :S :DIAG :LEVEL - 1
LEFT 90 FORWARD :S LEFT 90
ONESIDE :S :DIAG :LEVEL - 1
RIGHT 45 FORWARD :DIAG RIGHT 45
ONESIDE :S :DIAG :LEVEL - 1
SLEEP 20
ENDTO SIERP :S :LEVEL
:DIAG = :S / 1.414
REPEAT 4 [ ONESIDE :S :DIAG :LEVEL CORNER :DIAG ]
ENDCLEARSCREEN
HIDETURTLE
PENUP HOME RIGHT 90 BACK 100 LEFT 90 BACK 100 PENDOWN
; PICTURE "≈" [
; SIERP 10 2
; ]PICTURE “Sierpinski004.svg” [
repeat 1 [
SIERP 10 4
SLEEP 2000 ]#animation #SVG #loop #2d #CreativeCoding #pattern #Sierpinski #fractal #Logo #TurtleGraphics #geometry #CreativeCode #procedural #CreativeCodeArt #design #GraphicDesign
-
@scruss Nice, this version has a few changes to fill the shapes with PENDOWN and PENUP to avoid draw extraneous lines.
TO hx :size
REPEAT 6 [
tri :size FORWARD :size LEFT 60 CLOSE FILL
]
ENDTO PT :size
FORWARD :size
RIGHT 150
FORWARD :size
LEFT 30
ENDTO superhex :size
REPEAT 6 [
FILLCOLOR "gray" FILLTRANSPARENCY 50 hx :size PU PT :size FORWARD :size LEFT 60 PD
]
ENDTO tri :size
REPEAT 3 [
PT :size
]
ENDHOME CLEARSCREEN HIDETURTLE
superhex 50#CreativeCoding #pattern #Sierpinski #fractal #Logo #TurtleGraphics #geometry #CreativeCode #procedural #CreativeCodeArt #design #tiling #GraphicDesign
-
@scruss Thanks. Here’s the Sierpinski program adapted to run LibreOffice using the built-in LibreLogo environment https://help.libreoffice.org/latest/en-US/text/swriter/librelogo/LibreLogo.html
One of LibreLogo’s advantages is that the output is vector graphics that can be edited (but rasterised here for convenience).
TO CORNER :S
RIGHT 45 FORWARD :S RIGHT 45
ENDTO ONESIDE :S :DIAG :LEVEL
IF :LEVEL = 0 [ STOP ]
ONESIDE :S :DIAG :LEVEL - 1
RIGHT 45 FORWARD :DIAG RIGHT 45
ONESIDE :S :DIAG :LEVEL - 1
LEFT 90 FORWARD :S LEFT 90
ONESIDE :S :DIAG :LEVEL - 1
RIGHT 45 FORWARD :DIAG RIGHT 45
ONESIDE :S :DIAG :LEVEL - 1
ENDTO SIERP :S :LEVEL
:DIAG = :S / 1.414
REPEAT 4 [ ONESIDE :S :DIAG :LEVEL CORNER :DIAG ]
ENDCS
HT
PU HOME RT 90 BK 100 LT 90 BK 100 PD
SIERP 10 4
FILL#CreativeCoding #pattern #Sierpinski #fractal #Logo #TurtleGraphics #LibreOffice #LibreLogo #geometry #CreativeCode #procedural #CreativeCodeArt
-
🤔 Ah, the #nostalgia of #1980s bit-fiddling meets #Sierpiński #triangles in a convoluted, caffeine-induced fever dream! 👾 Who knew that #C #language devotees still cling to these ancient rites, conjuring up #code #optimization hacks that do more to befuddle than optimize? 🧐 Truly, the pinnacle of #programming enlightenment! 😂
https://lcamtuf.substack.com/p/sierpinski-triangle-in-my-bitwise #HackerNews #ngated -
-
-
Never a Dull Enzyme https://schaechter.asmblog.org/schaechter/2024/05/never-a-dull-enzyme.html @STCmicrobeblog
Emergence of fractal geometries in the #evolution of a metabolic enzyme: Franziska Sendker et al. https://www.nature.com/articles/s41586-024-07287-2
"Citrate synthase from S. elongatus has the peculiar capacity to self-assemble into a type of #fractal shape known as a #Sierpiński triangle. This is not a universal feature of citrate synthases, there's something unique about the one from this #cyanobacterium."
-
Eine unscheinbare Änderung an einer Formel eröffnet den Weg zu neuen Objekten der fraktalen Geometrie.
Mathematische Unterhaltungen: Mandelpinskis -
Eine unscheinbare Änderung an einer Formel eröffnet den Weg zu neuen Objekten der fraktalen Geometrie.
Mathematische Unterhaltungen: Mandelpinskis -
Eine unscheinbare Änderung an einer Formel eröffnet den Weg zu neuen Objekten der fraktalen Geometrie.
Mathematische Unterhaltungen: Mandelpinskis -
Eine unscheinbare Änderung an einer Formel eröffnet den Weg zu neuen Objekten der fraktalen Geometrie.
Mathematische Unterhaltungen: Mandelpinskis -
Eine unscheinbare Änderung an einer Formel eröffnet den Weg zu neuen Objekten der fraktalen Geometrie.
Mathematische Unterhaltungen: Mandelpinskis