Skip to content

Smartart cycle custom angles#178

Open
LordBaryhobal wants to merge 5 commits intocetz-package:masterfrom
LordBaryhobal:smartart-cycle-custom-angles
Open

Smartart cycle custom angles#178
LordBaryhobal wants to merge 5 commits intocetz-package:masterfrom
LordBaryhobal:smartart-cycle-custom-angles

Conversation

@LordBaryhobal
Copy link
Copy Markdown
Contributor

This PR adds a new step-angles parameter to smartart.cycle.basic. It allows the user to customize the angles between the steps

Example

#cetz.canvas({
  smartart.cycle.basic(
    steps,
    step-style: colors,
    equal-width: true,
    name: "chart",
    step-angles: (160deg, 80deg),
  )
})
cycles

Thanks to @JL710 for the initial implementation

Closes #176

@johannes-wolf johannes-wolf self-assigned this Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feature: custom angles for smartart.cycle.basic

2 participants