All pastes #9966 Raw Edit

Stuff

public java v1 · immutable
#9966 ·published 2005-04-21 02:36 UTC
rendered paste body
/** Thank you for looking!Looking for advice on how to actually code this in the most efficient manner I have TI(as) but have yet to figure it out, amd now guessint that maybe need to use a "SWITCH" statementany advice/explanations as to what way should do this, even if just a regular/nested for/while loop very appreciated.*/        double shearX = Math.random();                graphics2D.shear(shearX,0.0);                 ///<<<<<<<<< shearX         //if shearX  >= 0.0 && < 0.1 translateX = -10        //if shearX  >= 0.1 && < 0.2 translateX = -20        //if shearX  >= 0.2 && < 0.3 translateX = -30        //if shearX  >= 0.3 && < 0.4 translateX = -40        //if shearX  >= 0.4 && < 0.5 translateX = -50        //if shearX  >= 0.5 && < 0.6 translateX = -60        //if shearX  >= 0.6 && < 0.7 translateX = -70        //if shearX  >= 0.7 && < 0.8 translateX = -80        //if shearX  >= 0.8 && < 0.9 translateX = -90        //if shearX  >= 0.9 && < 1.0 translateX = -100        graphics2D.translate( translateX, 0);          ///<<<<<<<<< translateX