36 Commits

Author SHA1 Message Date
Sam
9f0d6a6925 Implement duplicate connection removal and enhance mutation methods in neural network
Some checks failed
Build Simulation and Test / Run All Tests (push) Failing after 30s
2025-06-16 16:09:23 -05:00
Sam
2a04e7917a Change mutation frequency in behavioral model to every 100 ticks for improved performance
Some checks failed
Build Simulation and Test / Run All Tests (push) Failing after 28s
2025-06-16 15:56:12 -05:00
Sam
5d862bfd50 Add tick count for behavioral model mutation and reduce initial cell spawn count
Some checks failed
Build Simulation and Test / Run All Tests (push) Failing after 30s
2025-06-16 15:55:14 -05:00
Sam
7dde7b3e1f Reduce max visual width of food from 10 to 8 and adjust rendering size calculation for improved visual consistency
Some checks failed
Build Simulation and Test / Run All Tests (push) Failing after 31s
2025-06-16 15:36:23 -05:00
Sam
3253bebe9c Adjust acceleration scale and clamp linear acceleration limits for improved physics simulation 2025-06-16 15:36:01 -05:00
fedb4117b4 Merge branch 'master' of https://git.apisb.me/Thaen/DynamicAbstractionSystem
Some checks failed
Build Simulation and Test / Run All Tests (push) Failing after 32s
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2025-06-16 15:32:37 -05:00
911ad00fdf food is smaller to make differentiating easier 2025-06-16 15:31:53 -05:00
Sam
75e4948557 Add tooltip functionality for neuron hover and adjust linear acceleration clamping
Some checks failed
Build Simulation and Test / Run All Tests (push) Failing after 42s
2025-06-16 15:30:47 -05:00
6c98d5d84e Merge branch 'master' of https://git.apisb.me/Thaen/DynamicAbstractionSystem
Some checks failed
Build Simulation and Test / Run All Tests (push) Failing after 35s
2025-06-16 15:24:08 -05:00
15e12a73aa changed food color, transitions from red to black 2025-06-16 15:21:29 -05:00
Sam
c7ca35f296 Implement FlexibleNeuralNetwork and enhance CellBrain with input normalization and neural network integration 2025-06-16 15:19:32 -05:00
Sam
26f166ebee refactored a lot of stuff into different files and generally fixed force application. 2025-06-15 23:44:50 -05:00
Sam
f0576e52d6 Add rotation and behavioral model to entities, implement DefaultCell entity
Some checks failed
Build Simulation and Test / Run All Tests (push) Failing after 35s
2025-06-14 17:30:31 -05:00
Sam
589bb13688 Remove unused imports
All checks were successful
Build Simulation and Test / Run All Tests (push) Successful in 3m1s
2025-06-14 15:18:05 -05:00
Sam
0177d68500 Introduce BehavioralModel and TestBrain classes for behavior modeling
All checks were successful
Build Simulation and Test / Run All Tests (push) Successful in 2m18s
2025-06-09 17:06:44 -05:00
Sam
a64e705731 Add TestVelocityObject to simulate moving entities in the world
All checks were successful
Build Simulation and Test / Run All Tests (push) Successful in 2m13s
2025-06-07 22:58:18 -05:00
049525ca59 updating with master branch 2025-06-03 22:29:13 -05:00
bb521371fa Food now grows, the chance to graw is dependent on the decay rate. The lower the decay rate, the higher the chance to grow. This helps keep the food from growing exponentially. 2025-06-03 22:26:11 -05:00
4e05a62274 Food now grows, the chance to graw is dependent on the decay rate. The lower the decay rate, the higher the chance to grow. This helps keep the food from growing exponentially. 2025-06-03 22:25:41 -05:00
ae88bf0dd2 Food now grows, the chance to graw is dependent on the decay rate. The lower the decay rate, the higher the chance to grow. This helps keep the food from growing exponentially. 2025-06-03 22:20:37 -05:00
Sam
737d595d50 Increase zoom threshold for smoother zoom transitions in simulation
All checks were successful
Build Simulation and Test / Run All Tests (push) Successful in 35s
2025-06-03 22:01:47 -05:00
Sam
330f199657 Update food object representation to use one decimal place for decay value
All checks were successful
Build Simulation and Test / Run All Tests (push) Successful in 30s
2025-06-03 22:00:40 -05:00
Sam
fe4e15eac1 Enforce world bounds for object positioning and update related tests
All checks were successful
Build Simulation and Test / Run All Tests (push) Successful in 30s
2025-06-03 21:55:40 -05:00
Sam
56415bb07a Added rounding to the object representation of the food object.
All checks were successful
Build Simulation and Test / Run All Tests (push) Successful in 30s
2025-06-03 20:41:20 -05:00
Sam
9a8217a034 Refine zoom limits in simulation interface for improved user experience
All checks were successful
Build Simulation and Test / Run All Tests (push) Successful in 34s
2025-06-03 20:38:50 -05:00
Sam
dad79942c2 Enhance World initialization with size parameters and adjust food spawning range
All checks were successful
Build Simulation and Test / Run All Tests (push) Successful in 27s
2025-06-03 20:10:22 -05:00
Sam
11bd766e62 Decay rate is now accelerated by nearby food.
All checks were successful
Build Simulation and Test / Run All Tests (push) Successful in 33s
2025-06-03 19:55:31 -05:00
Sam
3a4301f7cb Refactor Camera and Entity classes for improved type hinting and documentation using typing and pydantic.
All checks were successful
Build Simulation and Test / Run All Tests (push) Successful in 34s
2025-06-03 19:47:39 -05:00
5eb2079da1 food work :3
All checks were successful
Build Simulation and Test / Run All Tests (push) Successful in 2m18s
2025-06-03 19:25:54 -05:00
da355dbc6c Merge branch 'food'
# Conflicts:
#	main.py
#	world/render_objects.py
2025-06-03 18:46:47 -05:00
Sam
b80a5afc4a Added camera stabilization, moved the Camera class into its own file, normalized the diagonal camera vector, added a select and multi-select feature, added an inspect feature, changed the world class to use spatial hashing for better storage, changed the world class to use a double buffer to swap states when ticking, added death and interaction flags, added world class object queries, added an abstract base class for a basic entity that should be inherited by all object classes, added a max_visual_width parameter to said base class for selection clarity that should be set by all new entity/object classes, and added a basic interaction framework with an interaction radius parameter. When an object could interact with it's neighbors in the next tick, it should enable its can_interact flag, and the world will provide a list of interactable objects in that radius through the object's tick function. Also removed ruff format precommit check because it currently doesn't work. Also temporarily removed food class because it's outdated.
All checks were successful
Build Simulation and Test / Run All Tests (push) Successful in 2m21s
2025-06-03 18:38:27 -05:00
fc171cd523 food turns yellow then black as it spoils, checks food amount and adds more to equal 10, randomizes position with seed 2025-06-02 17:01:19 -05:00
56857e24b8 food turns green as it spoils 2025-06-02 00:30:51 -05:00
6952e88e61 Rendering framework
All checks were successful
Build Simulation and Test / Run All Tests (push) Successful in 2m0s
2025-06-01 23:59:53 -05:00
Sam
3988f0a6fc Formatting with Ruff
All checks were successful
Build Simulation and Test / Run All Tests (push) Successful in 27s
2025-06-01 16:18:00 -05:00
Sam
43882f4fef Add initial project structure with Pygame integration and camera controls 2025-05-31 18:30:47 -05:00