
A decentralized open metaverse platform built on top of the @matrixdotorg protocol
- Tweets66
- Following3
- Followers693
- Likes30
![Screenshot of javascript code: let verticalPlatform; let horizontalPlatform; let spinner; onload = () => { verticalPlatform = world.findNodeByName("VerticalPlatform"); horizontalPlatform = world.findNodeByName("HorizontalPlatform"); spinner = world.findNodeByName("Spinner"); }; const verticalPlatformStartPos = [7.398, 2.866, 2.025]; const verticalPlatformEndPos = [7.398, 0.246, 2.025]; const horizontalPlatformStartPos = [11.56, 2.866, 2.025]; const horizontalPlatformEndPos = [18.07, 2.866, 2.025]; onupdate = (dt, time) => { const t = (Math.sin(time) + 1) / 2; lerp(verticalPlatform.position, verticalPlatformStartPos, verticalPlatformEndPos, t); lerp(horizontalPlatform.position, horizontalPlatformStartPos, horizontalPlatformEndPos, t); fromEuler(spinner.quaternion, 90, 0, 30 * time); };](https://pbs.twimg.com/media/Fsa8Y-baEAEP-7P.jpg?name=small&format=webp)
ALT Screenshot of javascript code: let verticalPlatform; let horizontalPlatform; let spinner; onload = () => { verticalPlatform = world.findNodeByName("VerticalPlatform"); horizontalPlatform = world.findNodeByName("HorizontalPlatform"); spinner = world.findNodeByName("Spinner"); }; const verticalPlatformStartPos = [7.398, 2.866, 2.025]; const verticalPlatformEndPos = [7.398, 0.246, 2.025]; const horizontalPlatformStartPos = [11.56, 2.866, 2.025]; const horizontalPlatformEndPos = [18.07, 2.866, 2.025]; onupdate = (dt, time) => { const t = (Math.sin(time) + 1) / 2; lerp(verticalPlatform.position, verticalPlatformStartPos, verticalPlatformEndPos, t); lerp(horizontalPlatform.position, horizontalPlatformStartPos, horizontalPlatformEndPos, t); fromEuler(spinner.quaternion, 90, 0, 30 * time); };











