Skip to content

Commit

Permalink
Update planeta-v2.js
Browse files Browse the repository at this point in the history
Signed-off-by: Grouvex <[email protected]>
  • Loading branch information
Grouvex authored Feb 4, 2025
1 parent 9528299 commit 4356e1a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions planetas/planeta-v2.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const scene = new THREE.Scene();
const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 3000);
camera.position.z = 500;
camera.position.z = 600;

const renderer = new THREE.WebGLRenderer({ antialias: true });
renderer.setSize(window.innerWidth, window.innerHeight);
Expand Down Expand Up @@ -189,7 +189,7 @@ const planetsConfig = [
name: 'marte',
size: 5.3,
color: 0xFF4500,
distance: 190,
distance: 200,
speed: 0.01,
ringConfig: {
},
Expand All @@ -203,7 +203,7 @@ const planetsConfig = [
name: 'jupiter',
size: 25,
color: 0xD4AF37,
distance: 280,
distance: 330,
speed: 0.008,
ringConfig: {
},
Expand All @@ -217,7 +217,7 @@ const planetsConfig = [
name: 'saturn',
size: 21,
color: 0xF4A460,
distance: 360,
distance: 400,
speed: 0.006,
ringConfig: {
innerRadius: 30,
Expand All @@ -235,7 +235,7 @@ const planetsConfig = [
name: 'uranus',
size: 18,
color: 0x40E0D0,
distance: 420,
distance: 480,
speed: 0.004,
ringConfig: {
innerRadius: 22,
Expand All @@ -253,7 +253,7 @@ const planetsConfig = [
name: 'neptuno',
size: 17,
color: 0x4169E1,
distance: 500,
distance: 560,
speed: 0.002,
ringConfig: {
},
Expand Down

0 comments on commit 4356e1a

Please sign in to comment.