OLD![]() |
NEW![]() |
The code is a bit shorter this time, note that there is no need for a global translate transform on the top level group, though scaling and translating the cup is a bit tricky, maybe if the cup was drawn initially at the world origin (like the plate is) but the intent was to follow the JavaFX example as closely as possible. A fine addition to groups is the opacity: property, it is applied to all members of the group, in this case it is used to apply a sense of 3D to the plate without actually looking harsh, kind of like a soft shadow so to speak. More news to follow soon, they're bound to make you feel animated about Groovy

Keep on Groovying!