Skip to content

🎥 Make videos programmatically with React

`@remotion/starburst`: Change default smoothness to 0

Jonny Burgerc542c144c264
diff --git a/packages/docs/docs/starburst/starburst.mdx b/packages/docs/docs/starburst/starburst.mdx
index faf75b58ce..ca0a723c5c 100644
--- a/packages/docs/docs/starburst/starburst.mdx
+++ b/packages/docs/docs/starburst/starburst.mdx
@@ -57,7 +57,7 @@ Rotates the starburst pattern in degrees (`0`-`360`). Default: `0`.
### `smoothness?`
-Controls the softness of the ray edges. `0` gives hard edges, `1` gives very soft edges. Default: `0.1`.
+Controls the softness of the ray edges. `0` gives hard edges, `1` gives very soft edges. Default: `0`.
## Compatibility
diff --git a/packages/starburst/src/Starburst.tsx b/packages/starburst/src/Starburst.tsx
index 3dafdebd51..645c5cf737 100644
--- a/packages/starburst/src/Starburst.tsx
+++ b/packages/starburst/src/Starburst.tsx
@@ -274,7 +274,7 @@ const starburstSchema = {
min: 0,
max: 1,
step: 0.01,
- default: 0.1,
+ default: 0,
description: 'Edge Smoothness',
},
'style.translate': {
@@ -315,7 +315,7 @@ const StarburstInner: React.FC<
rays = 12,
colors = DEFAULT_COLORS,
rotation = 0,
- smoothness = 0.1,
+ smoothness = 0,
durationInFrames,
style,
controls,