flwyd: (mathnet - to cogitate and to solve)
Q: Alice, how are things with Bob?
A: We have a solid platonic relationship. We role play every week.

Pun Dump

Thursday, April 26th, 2007 01:17 am
flwyd: (Shakespeare bust oval)
I have too many volumes that are overdue. I need to go to the Library and ask a Librarian to check my balance.

If you write digits and symbols in acetone on your finger nails you're using reverse polish notation.

For the lispers in the crowd: Oops, upside the car!

I want to start a rock band called Sisyphus and the Rock.
<Sisyphus> Are you ready to rock?
<Crowd> Not yet!
<Sisyphus> Are you ready to rock?
<Crowd> Almost!
<Sisyphus> Are you ready to rock?
<Crowd> Not anymore!

Chaos Game Applet

Sunday, April 22nd, 2007 01:52 pm
flwyd: (java logo)
[Chaos Game] I spent most of yesterday and the first part of today writing a Java applet implementation of the Chaos Game. I find that the color schemes help significantly to understand why configurations lead to the patterns they do. The original description (which explains verbally better than I have) just featured monochrome images.

While I write Java code every day at work, most of it is data-focused. Data-focused GUIs (put this field over here, put these buttons in this panel over here) are important and often tricky to get right, but it's been years since I did anything with public void paint(Graphics g). Playing with code which requires no database, no metadata configuration, and no client-server communication was also refreshing.

You'll need at least Java 1.4 to view the applet. I compiled from Eclipse running under Java 1.5 and while I don't think I used any new API methods I didn't have a 1.4 JVM convenient for testing. Let me know if you can't get it to work.
December 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 2025

Most Popular Tags

Expand Cut Tags

No cut tags

Subscribe

RSS Atom
Page generated Monday, December 29th, 2025 09:17 am
Powered by Dreamwidth Studios