BIO-GENESIS: v0.1 (First Devlog)
How I did it?:
- UI & Visual Identity
Splash Screen: Developed an initialization window featuring a dynamic animation of a DNA molecule that transitions from grayscale to colorful.
Branding: Repurposed the DNA animation as a custom icon for both the window and the taskbar, replacing default assets for a professional finish. - Navigation & Environment
Dynamic Grid: Implemented a workspace divided into a grid with a context-aware zoom system. The zoom follows the cursor’s position rather than a fixed center point, allowing for fluid exploration.
Zoom Indicator: Added a real-time percentage display in the top-left corner to track the current magnification level. - Core Simulation Logic
The Eukaryotic Cell: Created a cell (green pixel) that moves randomly through the grid. Its primary objective is to seek out energy (yellow pixels).
Vital Mechanics: The cell constantly loses energy and HP over time. If HP reaches zero, the cell turns blue (dies) and movement ceases, requiring a simulation restart.
Interactive Sidebar: Developed a sidebar that appears upon clicking the cell. It displays real-time data, including a decreasing health bar and the cell’s exact spatial coordinates.
Technical explanation:
- Vector Space and Camera Projection
Movement and zooming are not just visual scaling; they are a Coordinate Transformation. To map a point from Screen Space ($P$) to World Space ($M$):
This ensures that regardless of the magnification level, the cell always knows its exact mathematical index within the 50 times 50 grid.
-
Probability and Stochastics
Movement is non-linear; it follows a Random Walk pattern. Every frame, each cell calculates its next potential position based on a uniform probability distribution: -
Metabolic Decay (Survival Calculus)
Life is treated as a time-dependent variable (t). The health (H) of each cell is governed by a constant decay function:
0
Log in to leave a comment