HOME | DD

Phracker — Neon Diamond (My First Processing Project) by-nc

#abstract #abstractart #abstractartwork #abstractdigital #code #coding #colorful #colors #computerart #computercode #computergraphic #digitalart #generative #neon #processing #programming #psychedelia #psychedelic #psychedelicart #psychedeliccolors #vibrant #generativeart #psychedelicartwork
Published: 2021-10-04 23:11:14 +0000 UTC; Views: 1030; Favourites: 12; Downloads: 2
Redirect to original
Description Trying something new here. I've been meaning to try out the Processing tool for years, only just got around to it now. Processing is a tool for making digital art that allows you to use a C subset to programmatically generate images using nothing but code. I generated the values in Processing, then added the blue, green, magenta, and cyan hues in GIMP. I know it's not the most impressive image created using the Processing language, but for a first project I think it's pretty good.


Code used to generate the image:

void setup(){
 size( 510, 510 );
}
void draw(){
 for( int i = 0; i <= 255; i++ ){
   for( int j = 0; j < 255; j++ ){
     fill( i + j );
     stroke( i + j );
     rect( j, i, 1, 1 );
     rect( 510 - j, i, 1, 1 );
     rect( j, 510 - i, 1, 1 );
     rect( 510 - j, 510 - i, 1, 1 );
     rect( 255 - j, 255 - i, 1, 1 );
     rect( 255 + j, 255 + i, 1, 1 );
     rect( 255 + j, 255 - i, 1, 1 );
     rect( 255 - j, 255 + i, 1, 1 );
   }
 }
}
Related content
Comments: 0