/fibonacci-rainbow-spirals

Fibonacci Rainbow Spirals for fxhash.xyz

Primary LanguageJavaScriptGNU Affero General Public License v3.0AGPL-3.0

Fibonacci Rainbow Spirals

Powered by fxhash boilerplate and p5.js

Made for fx(hash)

Generated tokens available on my fx(hash) profile


This is a collection of spirals generated with increasing radius and angles to a factor affected by the well known Fibonacci sequence first described by Pingala. Each line in each spiral have unique hue and saturation, making rainbow like patterns.

Controls:

s: Save current canvas as a PNG file
r: Restart drawing
f: Force resizing window
z / c: Decrease / increase delay between each spiral
x: Turn on / off the animation (if turned off, window will only refresh when drawing is finished, remaining stall during the actual drawing)

This should be pleasant to watch unfolding as well as the final drawing, and the collections should resemble old, primitive computer generated abstract drawings.

The hue, saturation and luminance features of this token are related to he HSL range of the background color. The luminance affects everything that's being drawn. The background color has been fixed with the fxhash token to keep the generated animation free from epilepsy hazard. Because of that, it's likely that every token will be unique and equally rare.

In this version, Fibonacci numbers are pre calculated with sympy.

At each new variation, the source code is improved and new variations are made.

The final token with all variations will be available after every single variation is minted. Minters of previous variations get reserve on next variations. Almost 90% of the royalties goes to the minters.

The source code is available with a GNU Affero license. Feel free to remix this work and publish derivatives with the same license.


Tokens list

NOTE: variation 9 has been flagged as undesirable content by the moderation team. Reason: Variation too low. The one person who minted has been refunded and I requested the token to be removed. This happened because I didn't realize at development time that the final art will always be the same (at fxpreview() call) regardless of the initial background.

LICENSE

Copyright 2023 Iuri Guilherme https://iuri.neocities.org/

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.