MCPcopy Create free account
hub / github.com/ElectroZybr/LatticeLab

github.com/ElectroZybr/LatticeLab @v0.1.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.3 ↗ · + Follow
1,702 symbols 3,933 edges 260 files 53 documented · 3% updated 16d agov0.1.3-demo · 2026-06-22★ 177

Browse by type

Functions 1,365 Types & classes 337
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

LatticeLab logo

Interactive matter simulation using LATTICE.

About

LatticeLab is a project built around the LATTICE molecular dynamics engine for interactive simulation and exploration of atomic behavior.

The idea is simple:

define how atoms interact and observe the resulting behavior

Without any animations made in advance.
Only potentials and forces between them.

But that is already enough for the system to behave very much like real matter.


What You Can Observe

  • self-formation of crystals
  • particle diffusion
  • lattice oscillations, waves, and phonon-like vibration
  • emergence of grains and domain boundaries
  • packing defects and local lattice distortions
  • nucleation of inhomogeneities
  • waves, phonons, and interference
  • local ordering and structural breakdown
  • behavior resembling solids, liquids, and transitional states
  • relaxation after collisions, compression, or parameter changes

What Is Planned

  • molecular modeling
  • chemical reactions
  • metals and alloys
  • charged particles and ions
  • [x] electrostatic interaction (Coulomb)
  • electricity and conductivity
  • simple models of nuclear interactions
  • radioactive decay
  • energy transitions
  • biochemistry
  • proteins and folding-like behavior
  • DNA and other chain-like molecular systems
  • project tree and module map

Why?

Physics is often presented as equations first.

Here, you can watch complex behavior emerge from simple interaction rules:

  • for educational purposes
  • for experimenting
  • to understand how the world around us works

Documentation

If you want to start with project internals, the best first articles are:


Build

The project uses CMakePresets.

Typical local build:

cmake --preset debug
cmake --build --preset debug

Release build:

cmake --preset release
cmake --build --preset release

Repository Structure

  • App/ - application layer, UI, viewport, input, and integration code
  • Lattice/ - simulation engine, physical model, and core data structures
  • Rendering/ - rendering backend, GPU pipelines, camera, and draw logic
  • Mods/Base/scenes/ - built-in base scenes shipped with the base mod
  • Docs/ - project documentation
  • assets/ - runtime assets
  • User/ - local user data such as saved scenes, not tracked in git

Links

Official site

YouTube channel (Russian)

Support the project!

Core symbols most depended-on inside this repo

Shape

Method 943
Function 422
Class 310
Enum 27

Languages

C++100%

Modules by API surface

Lattice/Engine/physics/Atom/AtomStorage.h60 symbols
Lattice/Engine/Simulation.h48 symbols
Lattice/Engine/World.h40 symbols
Lattice/benchmarks/BmRunner/Runner.cpp35 symbols
Rendering/camera/Camera.cpp33 symbols
Lattice/Engine/Simulation.cpp32 symbols
App/GUI/interface/panels/io/ioPanel.cpp30 symbols
Lattice/tests/test.cpp29 symbols
Rendering/RenderData.h27 symbols
App/Signals.h25 symbols
App/viewport/SceneViewport.cpp24 symbols
Lattice/Scripting/ScriptAPI.cpp23 symbols

For agents

$ claude mcp add LatticeLab \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page