Articles by

John Rhea

John is a storyteller with design and development skills. He likes cupcakes, the word "falafel" and using zombies to teach web development (https://undead.institute) His mom thinks he's very funny.

Direct link to the article ray()

ray()

The ray() function is used in combination with the offset-path property and creates a line segment, a ray. It lets you move or place an element using polar coordinates, i.e. coordinates based on a distance and an angle instead of Cartesian coordinates, where the X coordinate is on the horizontal axis and the Y coordinate is on the vertical axis.