Saturn Devouring His Son: Coding Remake


The painting above is titled “Saturn Devouring his son” and was created by  Francisco Goya. I used coding to recreate this piece, using ellipses, squares and triangles:




The code below is what I used to create the Saturn that is made of boxes:

PImage saturn;

void setup () {
size (470,750);
saturn = loadImage(“saturn.jpg”);
background (30);

void draw (){
//image(saturn, 0, 0);
float x = random(width);
float y = random(height);
color c = saturn.get(int(x),int(y));
stroke (c);
rect (x,y,10,10);

//Credit to Daniel Shiffman











About nadiaparfait1

I am currently attending Alfred State college. My major is Digital Media and Animation. I create art that expresses my emotions and experiences, incorporated with the knowledge that I obtain from school.
This entry was posted in Non-Time Based and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s