HOME
|
DD
All
Tag
Groups
Search!
Phracker
— Pixel Pulse
by-nc
#8bit
#abstract
#abstractart
#abstractdesign
#abstractdigital
#abstractdigitalart
#design
#generative
#glitch
#glitchart
#glitchcore
#glitched
#glitchy
#pattern
#pixel
#pixelart
#pixelartist
#pixelated
#processing
#psychedelia
#psychedelic
#psychedelicart
#generativeart
#psychedelicabstract
#8bitartist
#8bitart
#psychedelicartwork
#8bitstyle
#processingart
#glitchcoreaesthetic
Published:
2022-02-21 17:02:37 +0000 UTC
; Views:
1441
; Favourites:
41
; Downloads:
5
Redirect to original
Description
An abstract I made in Processing. I was trying to get an Archimedian spiral, but I messed up in my calculations and couldn't get the colors to line up properly, but my errors ended up resulting in a really cool-looking image.
Code for this image:
void setup(){
size( 900, 900 );
}
void draw(){
float pi = 3.14159;
for( int i = 0; i < 900; i++ ){
for( int j = 0; j < 900; j++ ){
int x = i - 450;
int y = j - 450;
// c = r - theta
float c = sqrt( (x/20)*(x/20) + (y/20)*(y/20) ) - atan( y / (x+0.00001) );
c %= pi;
int col = #000000;
if( c >= 0 && c < pi/12 ) col =
#ff0000
;
else if( c >= 2*pi/12 && c < 3*pi/12 ) col =
#ff00ff
;
else if( c >= 4*pi/12 && c < 5*pi/12 ) col =
#0000ff
;
else if( c >= 6*pi/12 && c < 7*pi/12 ) col =
#00ffff
;
else if( c >= 8*pi/12 && c < 9*pi/12 ) col =
#00ff00
;
else if( c >= 10*pi/12 && c < 11*pi/12 ) col =
#ffff00
;
stroke( col );
fill( col );
point( i, j );
}
}
}
Just a word of warning to anyone considering running this and tweaking it: The compiled form of this sketch is bloated as fuck.
This post was submitted to
Your-World-In-Color
a group created by
MaraRey
Related content
Phracker - Julia Mapped to Mandelbrot
Phracker - Passerby
Phracker - Orthogonal Snowflake Fractal
Phracker - Embrace
Phracker - Space Manifold
Phracker - Rainbow Wreath
Phracker - Gradient Wheel
Phracker - Gradient Mandelbrot
Phracker - Messenger
Phracker - Rectangle Regions 1000
Phracker - Sorted Mandala
Phracker - Pixel Sorting Emulation in GIMP
Phracker - Old Artwork - Abstract
Phracker - Eternal Glitch
Phracker - Energy Source
Phracker - Digital Dynasty
Phracker - Motion Fractal
Phracker - God's Eye Glitch
APPARENTABSTRACTIONS - 0365
OPTILUX - Color Dream
Terreflare - Psychoflower
Pixel-Derg - Colourful Pixel Background (Profile Skin)
Smooothe - Warp
KristianS - background tile 5
GodofDarness18 - The Complexity of Shape and Colour
Nautileen - GARRIOS
nightmares06 - Bright Hall of Shadow
Comments:
2
MasterGamer98
[2022-03-18 06:53:05 +0000 UTC]
👍: 0 ⏩: 0
Phracker
[2022-02-21 18:00:03 +0000 UTC]
👍: 0 ⏩: 0