Skip to content

Commit

Permalink
load percent changed to int
Browse files Browse the repository at this point in the history
  • Loading branch information
Nobatgeldi committed Aug 18, 2024
1 parent c12b294 commit ce33116
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/covisart/Simulator.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { state } from './store'

function Loader() {
const { progress } = useProgress()
return <Html center>{progress} % loaded</Html>
return <Html center>{Math.round(progress)} % loaded</Html>
}
export default function Simulator() {
/*const { ruler, animate } = useControls({ "ruler": false, "animate": false })
Expand All @@ -34,10 +34,10 @@ export default function Simulator() {
cellSize={0.4}
cellThickness={0.6}
cellColor={[1, 1, 1]}
sectionSize={4}
sectionSize={1}
sectionThickness={1.5}
sectionColor={[1, 1, 1]}
fadeDistance={30}
fadeDistance={60}
fadeStrength={10} />

<OrbitControls
Expand All @@ -53,9 +53,6 @@ export default function Simulator() {
<ambientLight position={[0, 2, -5]} />
<ambientLight position={[5, 2, 0]} />

<EffectComposer disableNormalPass>
<Bloom luminanceThreshold={0.2} luminanceSmoothing={0} intensity={1.0} />
</EffectComposer>
</Canvas>
<div style={{ position: 'absolute', top: 0, left: 0, width: '100%', height: '100%' }}>
<button
Expand Down

0 comments on commit ce33116

Please sign in to comment.