A logo that pulses
Updated
An SVG logo that breathes gently for ever: an SVG image sized by its entity’s scale, tweened by a Behavior script under it.
Watch the logo pulse. Drag to orbit the camera, scroll to zoom.
A logo that pulses
#pragma lifecycle(startup)
function startup() { const logo = self.parent; logo.scale.set(1.2, 1.2, 1.2); // the 1 x 1 drawing becomes 1.2 m wide
Tween.to(logo.scale, { x: 1.3, y: 1.3, z: 1.3 }, { duration: 1.4, ease: Ease.InOutSine, repeat: Infinity, yoyo: true, });}How it works
Section titled “How it works”The script is explained step by step in A logo that pulses.
Open it in XR Creator
Section titled “Open it in XR Creator”Download the project file below, then import it in XR Hub with Projects › New › Import, as described in Projects and templates. It opens in XR Creator with the same scene you see running above, each script already attached to its Behavior entity. From there you can edit the scripts, adjust components and their props, preview your changes, and deploy the result as a world of your own.
PulsingLogo.xrproj