- vercel prod client whith local server: https://bianca-ai.vercel.app
This repository breathes new life into the historic "The Bugs" project, an artificial neural network (ANN) simulation initially developed in Python. Unfortunately, none of the original code has survived, but the core concept remains the same: evolve a population of virtual "bugs" within a 2D, physically simulated environment.
Project Overview In the original "The Bugs" project, the goal was to create and evolve ANN-controlled bugs with the simple objective of avoiding collisions with each other and with any red-colored objects in their environment.
Key Features: 2D Physics Simulation: Bugs exist in a 2D container where physical interactions are simulated, including collisions and movement. ANN Sensors: Each bug is equipped with 4 input sensors that detect the presence of red pixels in its immediate surroundings. Actuators: Bugs have 4 (or 5) actuators that allow them to move and rotate within the environment. Survival of the Fittest: Bugs that survive the longest in this environment are selected to spawn the next generation, promoting the evolution of more adept behaviors. Morphological Evolution: In the later iterations, bugs also began to evolve their "morphology," meaning the positions of their sensors could change, leading to fascinating evolutionary developments.
- save/load bug from db.
- Implement a function to grid layout neurons' positions.
CREATE TABLE public.brainz (
brain json NULL,
id serial4 NOT NULL,
created_at timestamp DEFAULT now() NULL,
CONSTRAINT brainz_pkey PRIMARY KEY (id)
);
M.A 2024