Sketches have a setOpacity method. There is now an opacity test in the animation tests page. There is an unfinished rotation function that is commented out in the sketch widget.