Dancing Scene

Dancing Scene script details
Type
Typescript logo image
typescript
App Version
0.18.0
Visibility
public
Date Created
Aug 23, 2024, 9:00:25 AM
Last Edit Date
Nov 22, 2024, 11:47:03 AM

Script Details

The Code
const start = async () => { const scene = bitbybit.babylon.scene.getScene(); const camera = bitbybit.babylon.scene.getActiveCamera() as BABYLON.ArcRotateCamera; camera.position = new BABYLON.Vector3(3.2, 1, -3.2); camera.target = new BABYLON.Vector3(0, 1, 0); camera.panningSensibility = 0; camera.angularSensibilityX = 3000; camera.angularSensibilityY = 3000; camera.maxZ = 100; camera.wheelPrecision = 40; camera.lowerBetaLimit = 1; camera.upperBetaLimit = 1.57; camera.lowerAlphaLimit = -2.2; camera.upperAlphaLimit = 0.5; camera.lowerRadiusLimit = 2; camera.upperRadiusLimit = 5; scene.activeCamera = camera; bitbybit.babylon.scene.backgroundColour({ colour: "#211f1b" }) await bitbybit.babylon.gaussianSplatting.create({ url: "https://ik.imagekit.io/bitbybit/prod/ik-seo/o/users%2FyVqNAFXmieX0iAkdP6wAz5BJ4X82%2Fprojects%2FbazadnDTAr0ckKY0FKdV%2Fassets%2FDMXNIN_comp_SL3_MONPM/dancers-gaussian-splatting.splat?alt=media&token=0f83ba3e-de97-4fc7-bed1-aa1e1e4c9af4" }); } start();