Released a structural-field morphogenesis simulator (sfd-engine, Python + JS)
Posted by RJSabouhi@reddit | Python | View on Reddit | 0 comments
What My Project Does:
sfd-engine is a Python-friendly project for generating and visualizing emergent 2D patterns using:
- iterative field deformation
- simple Laplacian smoothing
- energy-driven structure formation
- attractor-like stabilization dynamics
It produces clustered, island-like, or branching morphologies from minimal rules and includes a browser UI for inspecting each step of the evolution.
Target audience:
This project is intended for:
- students exploring dynamical / spatial pattern formation
- researchers needing a lightweight morphogenesis sandbox
- hobbyists experimenting with synthetic “life-like” fields
- anyone who wants a small, readable implementation for emergent structure without a heavy framework
It’s not meant as a full scientific solver. It’s an environment for rapid experimentation and visual intuition-building.
Comparison:
Compared to more established tools (RD solvers, CA frameworks, PDE libraries), sfd-engine offers:
- a single unified update rule rather than multiple coupled equations
- immediate visual feedback through the included viewer
- no dependency bloat
- a small, modifiable codebase suitable for learning and prototyping
- clear separation between simulation logic and visualization
Repo: https://github.com/rjsabouhi/sfd-engine
0 Comments