← All projects

p5js tutorials - Record Array

by Elout de Kok

Minted
64 / 64
Published
2022-08-31

A 'simple' p5 tutorial for you creative coders

Recording the x,y positions when you draw
in a buffer / Array

To keep track where things are drawn on the screen
And use these new positions, as a platform-start
to draw other shapes.

It's an easy / fun trick to keep track of things you've drawn on the screen

I use this trick as well in 3D;
for like drawing trees, then the branches and leaves

See the sketch here.
https://editor.p5js.org/elout/sketches/qNlUda02j

Feel free, to change and adjust it -->>> all <<<--- around.
And feel free, to learn from the source - example

  • s key saves the 1500x1500 image; when the sketch is open/selected

fx*
The source of this fxhash-sketch is just a bit different, though.
Since I adjusted it for publishing it on fxhash
You can use and change this source on fxhash as well!

xxx amsterdam chillout ^__^

Project information
fxhash project ID
18807
Runtime
fxhash snippet · params: no
Network
Tezos
Token contract
KT1U6EHmNxJTkvaWJ4ThczG4FSDaHC21ssvi
Issuer (mint) contract
KT1BJC12dG17CVvPKJ1VYaNnaT5mzfnUTwXv
Artist addresses
tz1gmu6JWBtVempivULkthcWT3hgXjtHz2xT
Generator URI
ipfs://QmPXVHwgVtys5KgdYgMgjPRRXYfYrYsqaEGhJ7sBNWPdWL
Tags
p5jstutorialfxhashelout@elout01generativeartjavascriptxxxamsterdamchillout
View project on objkt ↗

Editions 64

Ownership snapshot 2026-10-07

Release

Mint status
Closed — sold out
Pricing type
Fixed · 0.25 tez
Remaining supply
0 of 64

Chain state at block 15279621 · 2026-10-08T05:22:31Z. Cached for up to 60 seconds; eligibility and transaction execution may differ.

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

Mint history

Supply
64
Indexed editions
64
Mint scheduled
2022-08-31T22:26:59.000Z
Primary mints recorded
64
Prices paid at mint
0.25 tez · 64 priced mints

Current mint availability and pricing are shown on fxhash.

Market history

Secondary trades
6
Recorded volume
11 tez / wXTZ
Lowest latest priced sale
1.5 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