mastodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance, open to everyone, but mainly English and French speaking.

Administered by:

Server stats:

745
active users

#creativecode

5 posts3 participants0 posts today
Replied in thread

@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
END

TO 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
END

TO SIERP :S :LEVEL
:DIAG = :S / 1.414
REPEAT 4 [ ONESIDE :S :DIAG :LEVEL CORNER :DIAG ]
END

CLEARSCREEN
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
Replied in thread

@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
]
END

TO PT :size
FORWARD :size
RIGHT 150
FORWARD :size
LEFT 30
END

TO superhex :size
REPEAT 6 [
FILLCOLOR "gray" FILLTRANSPARENCY 50 hx :size PU PT :size FORWARD :size LEFT 60 PD
]
END

TO tri :size
REPEAT 3 [
PT :size
]
END

HOME CLEARSCREEN HIDETURTLE
superhex 50

Replied in thread

@scruss Thanks. Here’s the Sierpinski program adapted to run LibreOffice using the built-in LibreLogo environment help.libreoffice.org/latest/en

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
END

TO 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
END

TO SIERP :S :LEVEL
:DIAG = :S / 1.414
REPEAT 4 [ ONESIDE :S :DIAG :LEVEL CORNER :DIAG ]
END

CS
HT
PU HOME RT 90 BK 100 LT 90 BK 100 PD
SIERP 10 4
FILL

today in #creativecode: I realized I can list my todos on readme (mannually). but also my done, via AI, using commits and convos as content.

Heck, I can even write a prompt that reminds format, with a mastodon post like this one as a cherry on top. and y'all never know.

github.com/nonlinear/nonlinear

Contribute to nonlinear/nonlinear.github.io development by creating an account on GitHub.
GitHubGitHub - nonlinear/nonlinear.github.ioContribute to nonlinear/nonlinear.github.io development by creating an account on GitHub.

Jitterbug, one of my best-known origami creations.

Geogebra file: geogebra.org/m/wsxthyaz
Origami instructions: foldworks.net/wp-content/uploa

I first came across Buckminster Fuller’s Jitterbug in Amy C. Edmondson’s A Fuller Explanation (1987).

As I didn’t have dowels and four-way rubber connectors, I made several cuboctahedra that worked as Jitterbugs but were not very reversible. Some were from paper and others from drinking straws and elastic thread. This modular origami version is the most recent version.

🤖🧑‍💻⚗️🎨🪩
Creative Code Stammtisch #136

Creative Code Berlin at Prachtsaal Studio Berlin

Friday Aug 1st @creativeCodeBLN

First Friday of every month.

A free event that is part casual hangout, part show-and-tell. We are open and welcoming to everyone interested in using code for creative self-expression. Folks of all backgrounds and skill levels are welcome!

meetup.com/creativecodeberlin/

[Artwork by @hamoid]

#Berlin#events#art