Back to Projects

MeshEvolver - Hybrid Procedural Generation Engine

High-performance procedural generation engine implementing a multi-language architecture with Rust core computation and SIMD optimization.

July 2024

Technical Overview

MeshEvolver is a high-performance procedural asset generation system implementing a multi-language architecture with Rust core computation, Python orchestration, and TypeScript frontend. The system leverages SIMD-optimized algorithms and WebGL-accelerated rendering for real-time mesh evolution. It features a genetic algorithm framework for evolutionary computation and a deterministic geometry pipeline using Perlin and Worley noise. Computational bottlenecks are solved via PyO3 bindings for zero-copy data transfer between the Python backend and Rust core.

Problem Statement

Procedural generation often suffers from performance bottlenecks when handling complex evolutionary algorithms. There is a need for a memory-safe, high-concurrency engine that can evolve meshes in real-time.

Architecture

4-layer hybrid architecture: React 19 + Three.js client, FastAPI orchestrator, Rust Core computational engine (via PyO3), and Redis persistence with SHA-256 content-addressable storage. It utilizes @dimforge/rapier3d-compat for real-time physics and spatial partitioning with BVH.

Key Features

  • Cross-Language FFI Bridge (Python/Rust zero-copy data transfer)
  • SIMD-optimized Genetic Algorithm Framework
  • Procedural Geometry Pipeline (Perlin/Worley noise)
  • Distributed Caching Layer with Redis and MessagePack
  • WebGL Rendering Engine (React 19 + Three.js + R3F)
  • Real-Time Physics Integration with Rapier3D

Challenges

  • Implementing memory-safe shared buffers for large mesh datasets
  • Orchestrating multi-language FFI bindings without performance overhead
  • Managing distributed task queues via Celery and Redis
  • Optimizing GPU skinning and post-processing for evolved meshes

Outcomes

Achieved 10x higher performance than pure Python implementations, with response times under 100ms for complex geometry generation and support for populations of 1000+ individuals.

Technologies

RustPythonReact 19Three.jsFastAPIRedis
Argentina 🇦🇷

© 2026 Michel Haussaire. All rights reserved.

Built with Next.js & Tailwind CSS