Spaces:
Build error
Build error
Download components/Controls.jsx from CarbonO2/anycoder-8767157c: direct link, hf CLI and curl.
- Browser
- Download file 318 Bytes
-
https://huggingface.co/spaces/CarbonO2/anycoder-8767157c/resolve/5f4306bf38dc403efa3e2e293bfd802d1a962fe8/components/Controls.jsx
- Command line
-
hf download hf://spaces/CarbonO2/anycoder-8767157c@5f4306bf38dc403efa3e2e293bfd802d1a962fe8/components/Controls.jsx
-
curl -L -o Controls.jsx https://huggingface.co/spaces/CarbonO2/anycoder-8767157c/resolve/5f4306bf38dc403efa3e2e293bfd802d1a962fe8/components/Controls.jsx
318 Bytes
| import React from 'react'; | |
| import { OrbitControls } from '@react-three/drei'; | |
| const Controls = () => { | |
| return ( | |
| <OrbitControls | |
| enablePan={false} | |
| minDistance={20} | |
| maxDistance={500} | |
| rotateSpeed={0.5} | |
| zoomSpeed={0.8} | |
| dampingFactor={0.1} | |
| /> | |
| ); | |
| }; | |
| export default Controls; |