File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ for (let x = 0; x < 50; x++) {
4747 // Add a small random offset to each vertex for variety, but keep convex
4848 const vertices : Vector [ ] = [ ] ;
4949 for ( let i = 0 ; i < n ; i ++ ) {
50- const angle = i * angleStep + Math . random ( ) * ( angleStep * 0.3 - angleStep * 0. 15) ;
50+ const angle = i * angleStep + Math . random ( ) * ( angleStep * 0.15 ) ;
5151 const r = radius * ( 0.7 + Math . random ( ) * 0.6 ) ; // 0.7r to 1.3r
5252 vertices . push ( new Vector (
5353 Math . cos ( angle ) * r ,
@@ -149,7 +149,7 @@ const playerRenderer = new ColorRender({
149149} ) ;
150150
151151const playerMovement = new CharacterMovement ( {
152- speed : 5 / 10 ,
152+ speed : 0.5 ,
153153 input : input
154154} ) ;
155155
Original file line number Diff line number Diff line change @@ -26708,7 +26708,7 @@ for (let x = 0;x < 50; x++) {
2670826708 const center = new Vector(0, 0);
2670926709 const vertices = [];
2671026710 for (let i = 0;i < n; i++) {
26711- const angle = i * angleStep + Math.random() * (angleStep * 0.3 - angleStep * 0. 15);
26711+ const angle = i * angleStep + Math.random() * (angleStep * 0.15);
2671226712 const r = radius * (0.7 + Math.random() * 0.6);
2671326713 vertices.push(new Vector(Math.cos(angle) * r, Math.sin(angle) * r));
2671426714 }
@@ -26795,7 +26795,7 @@ var playerRenderer = new ColorRender({
2679526795 color: "blue"
2679626796});
2679726797var playerMovement = new CharacterMovement({
26798- speed: 5 / 10 ,
26798+ speed: 0.5 ,
2679926799 input
2680026800});
2680126801var camera = new Camera({ name: "Cam" });
You can’t perform that action at this time.
0 commit comments