rotate.animateStartLoop(360.0, false, 5000);
}
private void createColorShiftingShape() {
WireframeCuboid box = new WireframeCuboid(8,63,2, 9,64,3);
Color color = Color.CRIMSON.copy();
box.setLineStyle(color, 3.0F, false);
libShapeDraw.addShape(box);
color.animateStartLoop(Color.MEDIUM_BLUE.copy().setAlpha(0.2), true, 750);
// Prefer a functional coding style? This is the equivalent of the above:
//libShapeDraw.addShape(
// new WireframeCuboid(8,63,2, 9,64,3)
// .setLineStyle(