Skip to main content

Crystal Lattice

A 2D Lennard-Jones crystal with strain-coloured bonds and a live radial distribution function. Strike it, pull atoms out, heat it until it melts.

  • 16.2 KB .bexode
  • 9 live inputs
  • Responsive fit Layout
Live runtime

Use it

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

import { ExodeUICanvas } from 'exodeui';

// sci-crystal-lattice.bexode goes in /public (download it below)
export function SciCrystalLattice() {
  return (
    <ExodeUICanvas
      src="/sci-crystal-lattice.bexode"
      fit="Layout"   // responsive: redraws at any container size
      autoPlay
      interactive
      style={{ width: '100%', height: 560 }}
    />
  );
}

Inputs

InputTypeDefaultRange
titleTextCrystal Lattice—
tempNumber152 – 200
attractNumber10.3 – 2
bondsBooleantrue—
speedNumber10.1 – 3
accentText#7cc4ffhex colour
accent2Text#ffb454hex colour
bgText#06080bhex colour
textText#e6edf3hex colour
ExodeUI

EXODEUI DESKTOP

A little space for good ideas.

Choose your platform to get the official ExodeUI installer.

Looking for Intel Mac or other builds? Explore the web studio or check all download options.

Prefer the browser? Try for free in your browser →