Last active
February 6, 2022 07:47
-
-
Save PabloAlexandre/35dc64442d9a79474805490160ea45f3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Canvas } from '@react-three/fiber'; | |
function App() { | |
return ( | |
<div style={{ width: '100vW', height: '100vH', background: '#723983' }}> | |
<Canvas camera={{ | |
near: 1, | |
far: 1100, | |
aspect: 16 / 9, | |
fov: 70 | |
}} /> | |
</div> | |
); | |
} | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment