Generative Art – First draft

screenshot-150With the database collected, I moved to Adobe Dreamweaver and experimented with both HTML and JavaScript. I added a Java function to the Body of the script, and created a random image array. I then set this array to a random function and connected it to each of the images in my database folder. The end result displays one random image at a time on a blank webpage. The image only changes when the screenshot-151page is refreshed.

The next thing to try, maybe confining the image to displaying in a pre-defined div box, then seeing if I can clone the functions into two or three other boxes so two or three images appear on screen.

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s