...
| Code Block |
|---|
def rect = rect( x: 20, y: 50, width: 100, height: 100, arcWidth: 20, arcHeight: 20, asShape: true) def star = star( xcx: 20100, ycy: 50100, ir: 50, or: 80, count: 5, asShape: true ) morph( start: rect, end: star, morph: 0.1, borderWidth: 3, borderColor: 'orange', fill: 'yellow' ) morph( start: rect, end: star, morph: 0.8, borderWidth: 3, borderColor: 'blue', fill: 'cyan' ){ transformations { translate(x: 140, y: 0) } } |
...