example(heights.medium, (rac, shared) => {
let center = rac.Point.canvasCenter()
rac.Stroke(8).apply()
let originColor = shared.palette.polishedPine
let targetColor = shared.palette.pumpkin
let totalRays = 40
for (let index = 0; index <= totalRays; index++) {
let ratio = index/totalRays
let color = originColor.linearTransition(ratio, targetColor)
let angle = ratio * 0.88 + 0.06 + 0.25
center.ray(angle)
.translateToDistance(20)
.draw(color.stroke())
}
rac.Point.zero.text('Example with shared styles')
.withPaddings(10)
.draw(shared.markText)
})