Jump to content

  • Log In with Google      Sign In   
  • Create Account

Satisfaction Guaranteed*

middle of freaking nowhere

Posted by pinacolada, 28 October 2005 - - - - - - · 206 views

Ah thank god.

My family recently got a cabin in the middle of freaking nowhere of NY state. So I've been staying up here for a week as it's a much better environment to get work done. But the internet hasn't been hooked up until today. I was doing pretty well surviving for the first few days, but then I started going a little stir crazy. Everything's all...


Posted by pinacolada, 23 October 2005 - - - - - - · 231 views

Status check:

My dream of interactive programming continues to elude me. I've gotten it to work in special cases, but I want to be able to do it everywhere, without too much set-up work. BeanShell seems to have problems if you a) load a script, b) create an object with that script, then c) reload the script and try to use newly-defined code on that...

I have a logo!

Posted by pinacolada, 13 October 2005 - - - - - - · 217 views

Astute readers will notice that the test code I posted 2 entries ago is the same code that renders the yellow spikey things in a circle. Except that the final version used 300 steps instead of 70, and the other values were tweaked too.

And, by the way, since the rendering was script code, I was able to fiddle with those numbers *live* and see the changes...


Posted by pinacolada, 13 October 2005 - - - - - - · 218 views

Woooo, just finished evaluating BeanShell. It's great!

The BeanShell version of that last test ran at 8 fps (where the pure Java version runs at 12 fps and the JRuby version ran at 3 fps). So the slowdown isn't too bad, plus the clincher is that I can copy-paste any performance-critical BeanShell code into java.

(ps, the reason those FPS numbers are so...


Posted by pinacolada, 13 October 2005 - - - - - - · 199 views

Yeah I change my mind a lot.

After evaluating Rhino, I came to this conclusion: really no scripting language has a very fluid way of passing Java objects to a script.

So with that knowledge in hand, I went back to JRuby because a) I have a crush on that language, and b) I do know a roundabout way to pass a java object to a ruby script (just use the...

tool overload

Posted by pinacolada, 11 October 2005 - - - - - - · 256 views

Okay, I'm coming to terms with the fact that I am suffering from tool overdose.

Batik? Cool, but it doesn't really help me.

JRuby? The language looks fun, but the Java->JRuby interaction really has been a pain. I can't get it to work the way I want, plus there's something about the implementation that makes it really inefficient. Every time you pass...

My tv has gone crazy

Posted by pinacolada, 07 October 2005 - - - - - - · 80 views

They are showing South Park on WPIX and Family Guy on TBS. I don't know which way is up anymore.

java svg code

Posted by pinacolada, 07 October 2005 - - - - - - · 135 views

I figured someone might be interested, so here is my java code for getting a simple SVG-backed sprite up and running:

import org.apache.batik.gvt.renderer.StaticRenderer;
import org.w3c.dom.svg.SVGDocument;
import org.apache.batik.bridge.*;
import org.apache.batik.gvt.*;

import java.awt.geom.*;
import java.awt.*;

class SVGSprite
// svg data

July 2016 »

24 252627282930

Recent Entries

Recent Comments

Recent Entries

Recent Comments