diff --git a/src/components/index.js b/src/components/index.js index 39e8c1c..2ba5c6c 100644 --- a/src/components/index.js +++ b/src/components/index.js @@ -1,5 +1,6 @@ export { default as NoisyImage } from './noisy/NoisyImage.js'; export { default as NoisyPlane } from './noisy/NoisyPlane.js'; +export { default as NoisySphere } from './noisy/NoisySphere.js'; export { default as NoisyText } from './noisy/NoisyText.js'; export { default as Slider1 } from './sliders/Slider1.vue'; diff --git a/src/components/noisy/NoisySphere.js b/src/components/noisy/NoisySphere.js index 0f3d3de..4802e44 100644 --- a/src/components/noisy/NoisySphere.js +++ b/src/components/noisy/NoisySphere.js @@ -5,6 +5,7 @@ import snoise4 from '../../glsl/snoise4.glsl.js'; export default { extends: Sphere, props: { + radius: { type: Number, default: 20 }, widthSegments: { type: Number, default: 128 }, heightSegments: { type: Number, default: 128 }, timeCoef: { type: Number, default: 0.001 },