views:

317

answers:

2

I have a series of shapes (Approx. 50), that each have 5 points, and a color (with alpha transparency). I want to render these shapes onto a pixel grid.

I program as an amateur, so I have no idea how I should go about doing this.

Can someone give me a starting point, or some pseudo-code?

Thanks in advance.

+2  A: 

Java has a pretty nice 2d graphics API included with it. I suggest you take a look at http://java.sun.com/docs/books/tutorial/2d/index.html for a tutorial on the basics.

David Winslow
+1 - I tend to suggest the sun tutorial quickly also.
James Black
+2  A: 
I82Much
psychedelic picture :)
tulskiy
Thank you! That's a very helpful example.
David Farley