blob: ebd5d36b7e0cbf9e47f9792c15b3a611d039c886 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import './style.scss'
import { Canvas } from '@react-three/fiber';
import ChatBubble from './components/chatbubble';
function App() {
return (
<Canvas>
<ambientLight intensity={Math.PI / 2} />
<spotLight position={[10, 10, 10]} angle={0.15} penumbra={1} decay={0} intensity={Math.PI} />
<pointLight position={[-10, -10, -10]} decay={0} intensity={Math.PI} />
<ChatBubble position={[0, 0, 0]} />
</Canvas>
)
}
export default App;
|