← All projects

Spirograph

by pedrove, reyrove

Minted
2 / 10
Published
2024-07-13

Playback not started.

Created using JavaScript and the p5.js library. It simulates the motion of double pendulums to produce intricate patterns.

Technical Details:
Background Colors: The piece features a diagonal gradient background drawn from a palette of 40 colors.

Foreground Colors: The foreground elements (pendulum paths and points) are selected from a palette of 160 colors.

Pendulum Frequencies: The frequencies of the pendulums are adjustable within a range of 0.1 to 10.

Core Functionality:
Canvas Setup: The canvas dimensions are set based on the smaller of the screen's width or height, ensuring a square canvas.

Gradient Background: A diagonal gradient fills the canvas using two randomly selected background colors.

Pendulum Motion: The motion of two pendulums, each with adjustable frequency, creates dynamic paths. These paths are drawn using either a solid stroke or a gradient stroke that transitions between the selected background and foreground colors.

User Interaction: Users can interact with the piece by adjusting the pendulum frequencies via provided parameters. This alters the resulting patterns.

Press 's' or 'S' to download a .gif file as {Spirograph.gif}.

Project information
fxhash project ID
30999
Runtime
fxhash snippet · params: yes
Network
Tezos
Token contract
KT1EfsNuqwLAWDd3o4pvfUx1CAh5GMdTrRvr
Issuer (mint) contract
KT1Xpmp15KfqoePNW9HczFmqaGNHwadV2a3b
Artist addresses
tz1M43nfc84c2oV7TGp1B3eonCKm4RVnD9Rwtz1RXsijmPeeF1kPyrhd8Hkm2RskJAeU3si5
Generator URI
ipfs://QmTK2wBMkCD62PUBBW5vEkzHX2AAJs7ayHeJpcMdZDMuZb
Tags
Spirographdynamicgenerativecolorgradientanimationcurvemathcode
View project on objkt ↗

NFTs 2

Ownership snapshot 2026-11-24

Release

Current mint status and pricing are unavailable. Reload to retry.

Primary minting creates a new NFT. This site replays existing NFTs.

Mint history

Supply
10
Indexed NFTs
2
Mint scheduled
2024-07-13T13:00:30.000Z
Primary mints recorded
2
Prices paid at mint
2 tez · 2 priced mints

Market history

Secondary trades
0
Recorded volume
0 tez / wXTZ
Last completed sales index sync
fx(params) mint tickets
Block 15946495
fxhash issuer v1 (first)
Block 15946495
fxhash issuer v1
Block 15946495
fxhash issuer v2
Block 15946495
fxhash issuer fx(params)
Block 15946495
fxhash marketplace v2
Block 15946495
fxhash marketplace v1
Block 15946495
objkt.com marketplace v1
Block 15946495
objkt.com English auctions v2
Block 15946495
objkt.com marketplace v2
Block 15946495
objkt.com English auctions v1
Block 15946495
objkt.com marketplace v3.2
Block 15946495
objkt.com collection offers
Block 15946495
objkt.com English auctions v3
Block 15946495
objkt.com marketplace v3.1
Block 15946495
objkt.com Dutch auctions v1
Block 15946495