| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This project is a highly specialized Machine Learning and Simulation pipeline designed to procedurally generate, optimize, and validate physical sorting mechanisms for small, asymmetric parts.
Whether sorting agricultural seeds by size, filtering manufacturing components for defects, or organizing consumer plastics (like Lego bricks), designing passive physical sorters (Plinko-style boards, funnels, and vibrating ramps) is traditionally a slow, manual CAD process.
I've replaced manual iteration with a custom, human-in-the-loop Genetic Algorithm (GA) powered by a headless 2D physics engine (matter.js). It is capable of exploring a near-infinite mechanical solution space, mathematically mapping its own evolutionary strategies, and ruthlessly stress-testing its designs to output highly efficient, manufacturable physical geometries.
Standard optimization algorithms fail when applied to rigid-body physics engines. The physics of thousands of small parts colliding, wedging, and bouncing is inherently chaotic. A one-millimeter adjustment to a single peg can change a perfect, high-throughput funnel into a catastrophic jam.
This creates a highly rugged "fitness landscape" where AI easily gets trapped in dead-ends (local optima) or over-optimizes for statistical flukes (a single lucky simulation run).
To solve this, my engine is built on a novel three-pillar architecture that tightly couples raw evolutionary computation with deep statistical analysis and human intuition.
This repository is divided into three distinct but deeply interconnected subsystems:
The core engine of S34. The GA generates thousands of unique machine layouts per minute, evaluating them headlessly across a multi-threaded Web Worker pool.
The Genetic Algorithm explores a 60+ dimensional search space, making it a "black box." The Cartographer solves this by running Principal Component Analysis (PCA) on the GA's output logs.
Because chaotic physics engines occasionally produce "golden runs" (where a bad machine gets a high score purely by mathematical chance), the Validator acts as the final gatekeeper.
To run the full pipeline, you will utilize the three subsystems in sequence:
| Back | FazBrowse Home | New Git URL |