Skip to content

Commit

Permalink
feat: expose brush smooth, streamline as experimental
Browse files Browse the repository at this point in the history
  • Loading branch information
CatsJuice committed Jul 22, 2023
1 parent 6f57faf commit 8f83f1d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ function debugPane() {
brushPane.addInput(brushOptions!, 'thinning', { label: 'Thinning', min: 0, max: 1, step: 0.01 })
brushPane.addInput(brushOptions!.start!, 'taper', { label: 'Start Taper', min: 0, max: 100, step: 1 })
brushPane.addInput(brushOptions!.end!, 'taper', { label: 'End Taper', min: 0, max: 100, step: 1 })
// experimental
const brushExperimentalPane = brushPane.addFolder({ title: 'Experimental', expanded: false })
brushExperimentalPane.addInput(brushOptions!, 'streamline', { label: 'Streamline', min: 0, max: 1, step: 0.01 })
brushExperimentalPane.addInput(brushOptions!, 'smoothing', { label: 'Smoothing', min: 0, max: 1, step: 0.01 })
}
</script>

Expand Down

0 comments on commit 8f83f1d

Please sign in to comment.