Fiddling around with the acm.java package

These are one of my first attempts at the java acm package.

While acm is quite easy to use, It’s a bit too inconvenient too, especially by the fact that the (0,0) coordinate is at the top left not at the bottom left.

RandomCircles

randomcircles

Generates random, colorful circles(GOvals) on a canvas.

Generates a random number for the x,y coordinates, radius and the color of the circles.

Seurat

Seurat

Like how the artist Seurat drew paintings with microscopic dots, the program Seurat takes an image and replicates it by putting dots.

each generated dot calculates its position and takes the appropriate color from the original image.

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