4

Byte City Nights – A Bitwise Cityscape Generator

 2 years ago
source link: https://frankforce.com/byte-city-nights-a-bitwise-cityscape/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Byte City Nights – A Bitwise Cityscape Generator

My final generative work for the fxhash beta is an abstract cityscape built with bitwise operators. This 256 piece set demonstrates several different ways of producing interesting patterns with simple math operations. There are 7 different possible operators it may choose for the sky and buildings to produce wildly different results.

I also experimented with a long 2:1 aspect ratio and a neon glow behind the piece when viewed in live mode. When displaying this piece as a large scale print, I recommend placing a led light strip behind the frame to recreate the effect.

Byte City Night on fxhash

Open Source on GitHub

bytecity-1024x512.jpg

This piece was adapted from my short tutorial that teaches how you can recreate something similar in only 10 minutes..

Here are a few more of my favorite mints from the series…

city69-1024x512.jpg
Byte City Night #69
48-1024x512.jpg
Byte City Night #48
city199-1024x512.jpg
Byte City Night #199
134-1024x512.jpg
Byte City Night #134
256-1-1024x1024.jpg
All 256 Byte City Nights minted on fxhash

Here’s my original tweet where first showed off the idea over two years ago!

City Sunset https://t.co/sYr5ZPYaZW

for(z=k=2e3;k–;x.fillRect(i*9+S(z*t)*z|0,j*9+t*420,t?9:z,9))i=k%9,j=k/9|0,x.fillStyle=R(q=t?i*j%2*400*S(k*k*t):k/3+C(k*k)*39,q-99,t?q-k:99)#javascript #creativecoding #codegolf #tinycode #city pic.twitter.com/ovnAtKUUm3

— Frank Force 🌻 (@KilledByAPixel) February 7, 2020

It’s hard to believe but the fxhash beta has ended. Over the past 3 months I’ve released some of the best artwork of my life. I have a feeling it is only going to get better. Follow me on twitter for updates on all my latest stuff. Thank you for reading, take care of each other, and have a great week.

Like this:

Loading...

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK