onj36qv6c1qJcoqL5TwDDCgcSy6mJqSHuvhVn5yoXYLQjTw11nydrawz_v05c
by Elout de Kok
- Minted
- 64 / 64
- Published
- 2022-10-15
drawz - a vanilla javascript (fxhash) template
Direct control of the Screen-RGB buffer; every pixel.
- latest versions, snippets and tools can be found at
(wip) https://elout.home.xs4all.nl/drawz/
Latest changes;
- a cleaned up, small-basic example now.
- interaction on the big zoomed in image; mouse and touch support
- template examples split into different .js for better overview, tech-window-handling / and your animation & drawing
- new: tools and like a snippet directory: draw squares, triangles etc. wip
While working on this template sketch, and was checking Reas xxx-metaKelly tribute, then next checking out Ellsworth Kelly's work like https://ellsworthkelly.org/work/seine/ And got awe and inspiration from that, moved on from there.
Fine-tuning until you start making screenshots; then make a new backup-version number!
Mostly I start with a clean template; that handles the screen, windows, and interaction.
Then add: copy-paste routines into it. Things I want to use; sprites, text-font, filters, lines, 3D etc.
Like kinda lego blocks. Some routines I re-use for 30 years now.
Although often they have changed over time.
Handles all the windows, mouse-touch interaction, animation-drawing in a kind of fast and smooth way. (I hope)
Mouse-click switches between:
-
screen scaled image
-
The large image - reacts to mouse-touch position
-
This work will refresh and restart after some time
Save image - with s-key
written in vanilla JavaScript, more info in the source-code
Why vanilla javascript? Pro's / Con's
cons:
-
can be overwhelming for starting coders compared to p5js
-
you have to write, use, find and tinker with new drawing routines by yourself.
-
still can be optimized a lot, and run much faster
-
I'm more an Artist than a coder, still learning new things as well.
-
I have my own 'old' coding style I picked up ages ago, and still use now and then.
-
Just coded it in Notepad++ and tested it in a browser.
-
for sure there are still some stupid bugs, spelling errors in it ^___^
-
No 'how-to' 'easy' (video) tutorials on it yet.
pro's:
-
direct control of the Screen RGB buffer; every pixel.
-
shaders / webgl etc. Are fast; but in the end just pixels?. And might not work 10+ years from now. Or show different in certain browsers.
-
Slow drawing, but your own routines make it more unique, compared with 'out of the box' routines.
-
do like 4096 x 4096 images on safari; tested and runs fast and smooth like on an old Iphone5
-
just 1 index.html now - small file size
-
I added some basic routines, like drawing points, lines. More drawz_snippets in the near future
-
draw, add-mix or subtract - manipulate every pixel how you wish
-
I work with a big off-screen kind of image; a rgb-buffer; so drawing goes 'mucho' faster and render it to a screen-scaled image.
-
no other libraries used
-
runs smooth, without window freezes. Focused on fps; I can have like 10 tabs open without a problem
fxhash: features
- fxpreview() when drawing is done
- already 'smooths' the image/drawing; for the fxhash preview thumbnails
- drawing; a splash-screen support on top; while drawing.
- testing 'features' now (with this sketch: the palettes)
I don't mind people to use the tech-source as a start for their creative projects.
Art-composition-part is mine though, so don't copy-mint this project, without changing a pixel or any line in the source code!
** some palette have shout-outs to Artist I like 0__.
- and hope to add more palettes soon!
'like jimi and guitar' 0__. ^____^
xxx amsterdam chillout
October 15, 2022
Project information
- fxhash project ID
- 20367
- Runtime
- fxhash snippet · params: no
- Network
- Tezos
- Token contract
KT1U6EHmNxJTkvaWJ4ThczG4FSDaHC21ssvi- Issuer (mint) contract
KT1BJC12dG17CVvPKJ1VYaNnaT5mzfnUTwXv- Artist addresses
tz1gmu6JWBtVempivULkthcWT3hgXjtHz2xT- Generator URI
ipfs://QmdRJ9D1t33ddQbjrETjPizKLXvLyv6wTPUKCCMC7BoYcB
Editions 64
Ownership snapshot 2026-10-07onpcLZN1rmYhA6refo6cJjYJCrk7HxmGb4UAnH99eiAQLoKQYTKdrawz_v05c #3
3col: red l-blueOwner: tz1L9XjPpcPexJEx39JVb5TH8kXfjPW6FWLN
- Token ID
- 1222244
- Minted
- 2022-10-15
ooJrWSQG1m7Z15EBv1KqM5Nwg4aXrntEuwuHvJojmfh4hPT7qtEop1uAxKd8U6QmvNwosxbU83NNG5joqpZFPWkyWSq8JVnZasPNvfoopLTfEC3S4PqG6suaPTcpuA4PqwWF9sJBB5k2NcQYto1uGmhRbooyD6PXJAMcC99FFEECn6hFgejYQZYhUDfzmxu9S8r8FgWr153ZonxfXaV2y6tLg5aY8NuG1Z2tXq3Uk8eLM8je3YSqyHb55x91jUhopAbMYEAHVX5bv3mg518YiErNNyhXrpND9kiYin17frtUnq2nqMooGNd8hy6LD6ZBoWXdA19ku5aySegJ8pW5qBhN58nKDJGu5AeLQopYg6q3QqNCvH7S68E7XaTTfdReuoYJtadZzQnZgWUfA4BW8CzmopUYkSBH6kzw7doWzVacMZKmfwgpeEG6oCwnFvEYnWRiTnW1EtyooqxEo5th7ndaUrfRQKGoQ7iSUUdvdWKPRkzHrWarXVjFaSA4LBooXcUoT2a8ekAh3HWJQ7UJ6k8S723eCSiKkUfS9yrpwDqiPjwEeopNSjjnCrBTBAaphsmFYx3UzHffwWJhRBYScSFJ7No7d5NTgDExopWxCB4SURj6Ha4qsineQm41gt5j1bE7NdbVCNwxybo7ZxBiJf5ooJx8jE3rPjfTRP8yyMbwZQQsJF83YjckAwXkDCy65TrYJopnHFdrawz_v05c #17
3col: orangered redOwner: tz1iR8zr5SRuzAjqrXmKD71kLK3PmMkx48PS
- Token ID
- 1222288
- Minted
- 2022-10-15
opTuDkWFHAdtmsC7FWE42gykRBM3VpHGTeapw7U4xRTLNBBiokGdrawz_v05c #18
3col: 2zolfaghari blu pink elfenjamOwner: tz2BruKv848x7gBy7rCJRNPrmMqW73SVXbAQ
- Token ID
- 1222290
- Minted
- 2022-10-15
oniyTvJFLc1XYV11RcJ82F3gu15ex8c3A22HjcJfPpXXxNJKUYmonwtQDA28zriWEtq2hi11qYA9XXYLLZx16bJwWnnUbtEL3BFBiidrawz_v05c #20
2col: 2 nbswwit blu and pinkOwner: tz1TEL6xFJx1hJKukx21NCufAfGEEr9yYoKX
- Token ID
- 1222293
- Minted
- 2022-10-15
onr1k7mbURv4rQM6gaoW311NBwdqGuFrU4G3NBZ295spbvipNbzdrawz_v05c #21
3col: 2macintosh dazzle-red elfen-blugreyOwner: famtez_v1
- Token ID
- 1222294
- Minted
- 2022-10-15
opNMYGiC45pRvFaP15eTi2QfUXHso68RATkud9GB2iXpiquFCZvopZ8baX11NRgAjPFYhZbY4Xyy7MBLt5jyyxPJesY6178n1E9KJ5drawz_v05c #23
2col: light blue dark redOwner: tz1TEL6xFJx1hJKukx21NCufAfGEEr9yYoKX
- Token ID
- 1222308
- Minted
- 2022-10-15
ooZkfpcrmkkxXSRGWnZD6MPTD8npScNMn6Ho2muKpxZKcJd6STjoo5QEzAQLrLhrSeKiUhUsUZBedg1izKrrcFq6kRYRsrgtm7cmudRelease
Current mint status and pricing are unavailable. Reload to retry.
Primary minting creates a new edition. This site replays existing editions.
Mint history
- Supply
- 64
- Indexed editions
- 64
- Mint scheduled
- 2022-10-15T19:01:29.000Z
- Primary mints recorded
- 64
- Prices paid at mint
- 0.5 tez · 64 priced mints
Current mint availability and pricing are shown on fxhash.
Market history
- Secondary trades
- 7
- Recorded volume
- 12.92 tez / wXTZ
- Lowest latest priced sale
- 0.7 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