← All projects

nd-genuary32nd-plants-chatgpt3-001

by NERDDISCO

Minted
1 / 32
Published
2023-03-28

Disclaimer

This artwork is partially generated by AI, and I seek to be as transparent as possible about the human and machine contributions.

From idea to foundation

For GENUARY32nd I wanted to create a generative artwork for the "plants" prompt. As I had no idea on how to get started, I thought about using ChatGPT to help me out. I documented the whole process to create the foundation of this artwork via the video Create Generative Art with ChatGPT & JavaScript.

You can also read about it on my website https://nerddis.co/nd-genuary32nd-plants-chatgpt3-001 and find even more background information.

fxhashify

After holding the generated code from ChatGPT in my hands, I switched to my manual process (which involves using my human brain) to convert the foundation into something that can be actually minted on fxhash. I call this "fxhashify", as this process is tailored to the capabilities of fxhash. If you are interested in this process, then please leave a comment on the video. If you just want to know what I changed, then please continue reading:

  • Used the Pseudo Random Number Generator from the params-boilerplate instead of Math.random()
  • Randomized parameters (like x / y position, color, growthSpeed and more) to control the plants, ground, sun and sky
  • Established the scene to have plantsAmount between 1 and 8
  • Spread the plants evenly on the ground with consistent spacing, related to the plantsAmount
  • Made sure that tall plants are in front of small plants
  • To prevent the plants from extending outside the scene, smaller-sized plants are placed along the edge whenever more than three plants were generated
  • A different globalCompositeOperation was used for the petals of the "special plants", distinguishing them from regular plants
  • Two different Time of Day were included: Sunny Day vs Rainbow Night
  • The proportions of the scene were kept, regardless of how it was scaled, using 2048 x 2048 px as the reference size
  • A lot of fine-tuning was done to make it look pretty and get the colors right in terms of lightness and saturation... <3 HSL
  • Added various helper functions (like inRange or pseudoRandomBetween) and the possibility to save the scene as an image by pressing "s" on the keyboard
  • The characteristic was added to continuously redraw the scene after a random timeout between 0 and 60000 ms, so that you can see the plants growing over and over again. After each redraw, stemGrowthSpeed, centerGrowthSpeed and petalGrowthSpeed are randomized
  • Included only a few fxhash features, but went into a rabbit hole for firstRedraw and added quotes from my most favorite movies, shows and music. But only the ones that had a connection to time
  • My little daughters gave me important feedback during development, so I integrated their favorite show "My Little Pony" into the Flower Lightness feature (some ponies look dark, others look very bright)
  • Used fxparams for timeOfDay, plantsAmount, flowerLightness and the backgroundSaturation, so that minters have an influence on the generated piece
  • Comments were added on all functions and everything in between

Code

Everything is JavaScript + Canvas 2D and open source under AGPLv3: https://github.com/NERDDISCO/nd-genuary32nd-plants-chatgpt3-001

Interactive

  • Press s on your keyboard to download a screenshot
  • The scene is redrawn every pseudo-random ms
Project information
fxhash project ID
26299
Runtime
fxhash snippet · params: yes
Network
Tezos
Token contract
KT1EfsNuqwLAWDd3o4pvfUx1CAh5GMdTrRvr
Issuer (mint) contract
KT1Xpmp15KfqoePNW9HczFmqaGNHwadV2a3b
Artist addresses
tz1Vn5mS4QMvr7qwyyxsTH2szRXK1RGxLJn9
Generator URI
ipfs://QmTc8X68WYZt8D655FJybS5xEQkNgazENZzB6hCGr1EGwx
Tags
ndchatgptchatgpt3plantsflowersunmidnightnerddiscoagplopensourceaiinfluencedcanvas2dparams
View project on objkt ↗

Editions 1

Ownership snapshot 2026-10-07

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
32
Indexed editions
1
Mint scheduled
2023-03-31T19:00:00.000Z
Primary mints recorded
1
Prices paid at mint
3.2 tez · 1 priced mints

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