Skip to main content

Drone

A quadcopter that follows the cursor, banking into turns over a moving contour map, with spinning props and a flight HUD. Click for a photo.

  • 6.2 KB .bexode
  • 8 live inputs
  • Responsive fit Layout
Live runtime

Use it

The code follows your customizations. Install with npm i exodeui.

import { ExodeUICanvas } from 'exodeui';

// drone.bexode goes in /public (download it below)
export function Drone() {
  return (
    <ExodeUICanvas
      src="/drone.bexode"
      fit="Layout"   // responsive: redraws at any container size
      autoPlay
      interactive
      onTrigger={(name) => {
        // fires: 'ctaClick'
      }}
      style={{ width: '100%', height: 560 }}
    />
  );
}

Inputs

InputTypeDefaultRange
nameTextSkyline Mini 4—
taglineTextUnder 249 grams, 48 minutes in the air and a 1-inch sensor that holds the horizon in a gale.—
ctaTextFly · $759—
colorText#d9dde2hex colour
speedNumber10.1 – 3
accentText#ffd23fhex colour
bgText#0a0d0chex colour
textText#eef3f0hex colour

Events (via onTrigger): ctaClick