← All projects

Collatz Bezier Rainbow

by Iuri Guilherme

Minted
Not yet indexed
Published
2023-03-02

These are Bezier vertices using numbers from sequences made from the Collatz conjecture https://en.wikipedia.org/wiki/Collatz_conjecture

The color of each vertex is defined in the HSL range relative to how large is the sequence compared to the size of the largest sequence found so far in the generation. Because it uses fxrandom() for each new number, the colors should slightly differ during each generation.

The number of generated Bezier vertices is limited between 2 and 60, because a single vertex can leave the whole screen blank, and more than 60 can't be seen in the canvas space. In fact, the whole Bezier curves can't be seen in the canvas space, but this is deliberate and carefully coded for the artistic impression of the specific part that can be seen.

A lot of Collatz sequences were pre calculated using a Python script for the higher Features, but for low number of vertices they are calculated at run time.

The controls are optimized for a QWERTY keyboard:

q w e r
a s d
z x c

You can see what has changed in the Javascript console log.

r: Restart the drawing (it is best to wait until the last drawing has finished, because the code is asynchronous)

The random number multiplier is a factor that affects the size of the integers to search for the Collatz conjecture. The initial value is 60 - the number of Bezier vertices. For 50 Bezier vertices it means the random numbers will be multiplied by 10 at the power of each iteration (1e1, 1e2, 1e3, ... 1e50). The higher the multiplier, the higher is the probability of a larger sequence, and the drawing overall will be more green / blue. Shorter sequences will make the drawing appear more red.

The numbers until 21000 have the sequence pre calculated in the collatz.js file, but numbers larger than that will be calculated at run time.

q: Decrease the random number size in powers of ten
e: Increase the random number size in powers of ten
w: Resets the longest sequence size to zero

The number of Bezier vertices define how crowded the canvas will be. Since the vertices are overlapping others, the highest value of 60 will fill all the screen, making a pattern as if matrix printers are drawing with colored crayons during an earthquake. The lowest value of 2 will show two random recognizable Bezier patterns with different colors.

a: Decrease the number of Bezier curves or vertices
d: Increase the number of Bezier curves or vertices
s: Save the current canvas to PNG format

The animation delay is the number in milliseconds that the async function will timeout until the next vertex is drawn.

EPILETIC TRIGGER WARNING: If there are too few curves and the delay is too fast, you can be affected by the quick changes of the colors. I had two epilepsy events during development when testing low values.

z: Decrease the animation delay in 100ms
c: Increase the animation delay in 100ms
x: Sets the animation delay to 0ms

This token donates a small fraction of royalties to Girls Who Code and the Processing Foundation, which develops the software used to produce this art.

Almost all of the secondary royalties goes to the minter.

The source code is available by AGPLv3 at https://github.com/iuriguilherme/fxhash2

Project information
fxhash project ID
25615
Runtime
Not yet indexed
Network
Tezos
Token contract
Not yet indexed
Issuer (mint) contract
Not yet indexed
Artist addresses
tz1TfaiDyZ6YqPVXUXsxBV2oAYE5VanEnvLp
Generator URI
ipfs://QmaVEwjKubgcQbRM7DWZZH4gFNZYjyn79RRKbaXo5hRtjL
Tags
collatzbezier3x+1rainbowhslp5jsp5processing

Editions not yet indexed

Collatz Bezier Rainbow static project previewView project on objkt ↗

Release

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

Primary minting creates a new edition. This site replays existing editions.

Mint history

Supply
90
Indexed editions
Not indexed
Mint scheduled
2023-03-03T01:47:59.000Z
Primary mints recorded
0

Current mint availability and pricing are shown on fxhash.

Market history

Secondary trades
0
Recorded volume
0 tez / wXTZ

Historical trades; not current asking prices. Summaries refresh within 30 seconds.

Last completed sales index sync
fx(params) mint tickets
Block 15275886
fxhash issuer v1 (first)
Block 15275886
fxhash issuer v1
Block 15275886
fxhash issuer v2
Block 15275886
fxhash issuer fx(params)
Block 15275886
fxhash marketplace v2
Block 15275886
fxhash marketplace v1
Block 15275886
objkt.com marketplace v1
Block 15275886
objkt.com English auctions v2
Block 15275886
objkt.com marketplace v2
Block 15275886
objkt.com English auctions v1
Block 15275886
objkt.com marketplace v3.2
Block 15275886
objkt.com collection offers
Block 15275886
objkt.com English auctions v3
Block 15275886
objkt.com marketplace v3.1
Block 15275886
objkt.com Dutch auctions v1
Block 15275886