Commit Graph

  • b9027ab935 Add time complexity annotations to methods in world.py master Sam 2025-06-25 01:31:21 -05:00
  • b775813cbd adjust food benefit Sam 2025-06-25 00:46:10 -05:00
  • bce07db40e adjust mutation rate Sam 2025-06-25 00:34:21 -05:00
  • 0d95e85d83 remove debug print Sam 2025-06-25 00:32:20 -05:00
  • 22406420c2 adjust pt 2 Sam 2025-06-25 00:31:36 -05:00
  • 31c3244b5a Adjust energy cost calculation in movement and increase initial cell count in simulation Sam 2025-06-25 00:31:05 -05:00
  • 8bb5c3edfc Adjust grid dimensions and refine cell mutation parameters for improved simulation behavior Sam 2025-06-25 00:30:05 -05:00
  • 4e90ecb885 Refine simulation tick handling to ensure consistent timing and update HUD rendering Sam 2025-06-25 00:19:22 -05:00
  • 8bb669d6b2 Add cell count display to sprint debug info in HUD Sam 2025-06-25 00:11:28 -05:00
  • d0f01c0a48 Prevent event queue overflow by pumping pygame events during simulation ticks Sam 2025-06-25 00:09:23 -05:00
  • 15bc179410 Update grid dimensions and adjust energy cost calculation in movement Sam 2025-06-25 00:05:28 -05:00
  • f74aa1f633 Enhance Physics class with detailed docstrings for initialization and movement methods Sam 2025-06-24 23:56:37 -05:00
  • dee0eaa9f9 moved physics into its own class in physics.py Bnenne 2025-06-24 11:08:52 -05:00
  • 7289543f6a moved physics into its own class in physics.py Bnenne 2025-06-24 02:00:14 -05:00
  • 8f17498b88 Add headless simulation benchmarking and tests for determinism Sam 2025-06-21 18:36:02 -05:00
  • f56192ab8f Add HUD splitter rendering to simulation engine Sam 2025-06-19 16:58:21 -05:00
  • 4a4f7a75c5 Merge branch 'master' of https://git.apisb.me/Thaen/DynamicAbstractionSystem Sam 2025-06-19 16:57:43 -05:00
  • 6f9e1e84f0 Refactor HUD to support dynamic panel resizing and improve layout management Sam 2025-06-19 16:52:38 -05:00
  • d5d44c5d14 Refactor HUD and renderer to support dynamic screen resizing and update input handling for simulation view ui-rework Sam 2025-06-19 14:45:15 -05:00
  • 8c8d8f7925 Add cell count display to sprint debug info and adjust energy cost calculation Sam 2025-06-18 18:04:34 -05:00
  • 2b1b348cb1 Refactor HUD initialization to accept UI manager and update simulation engine for dynamic screen sizing Sam 2025-06-18 17:44:54 -05:00
  • ff43022b3a Update screen dimensions and integrate pygame_gui for HUD management Sam 2025-06-18 17:36:24 -05:00
  • 3b64ef62e1 Refactor neural network implementation into separate neural.py file Sam 2025-06-18 17:21:11 -05:00
  • d604641453 Add pygame-gui and python-i18n dependencies to project Sam 2025-06-18 17:14:03 -05:00
  • bada025b33 general tweaks Sam 2025-06-17 00:09:55 -05:00
  • 848356a76e Enhance simulation performance and add sprint mode functionality Sam 2025-06-16 18:10:12 -05:00
  • deee83edb3 Enhance simulation performance and add sprint mode functionality Sam 2025-06-16 16:57:03 -05:00
  • 8a53d4ac37 Remove tick-based mutation from behavioral model in objects.py Sam 2025-06-16 16:16:34 -05:00
  • f567b0130a Add layer mutation method and adjust mutation frequency in behavioral model Sam 2025-06-16 16:16:16 -05:00
  • 91fef15572 moved max linear and angular accelerations and velocities for default cells over to constants.py and increased the max angular velocity and acceleration Bnenne 2025-06-16 16:14:52 -05:00
  • 9f0d6a6925 Implement duplicate connection removal and enhance mutation methods in neural network Sam 2025-06-16 16:09:23 -05:00
  • 2a04e7917a Change mutation frequency in behavioral model to every 100 ticks for improved performance Sam 2025-06-16 15:56:12 -05:00
  • 5d862bfd50 Add tick count for behavioral model mutation and reduce initial cell spawn count Sam 2025-06-16 15:55:14 -05:00
  • eded181c62 Refactor _setup_world method to remove unnecessary self parameter Sam 2025-06-16 15:47:48 -05:00
  • 14dfc7bfb8 Update random seed initialization in world setup for consistent food spawning Sam 2025-06-16 15:46:04 -05:00
  • 7dde7b3e1f Reduce max visual width of food from 10 to 8 and adjust rendering size calculation for improved visual consistency Sam 2025-06-16 15:36:23 -05:00
  • 3253bebe9c Adjust acceleration scale and clamp linear acceleration limits for improved physics simulation Sam 2025-06-16 15:33:57 -05:00
  • fedb4117b4 Merge branch 'master' of https://git.apisb.me/Thaen/DynamicAbstractionSystem # 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. Bnenne 2025-06-16 15:32:37 -05:00
  • 911ad00fdf food is smaller to make differentiating easier Bnenne 2025-06-16 15:31:53 -05:00
  • 75e4948557 Add tooltip functionality for neuron hover and adjust linear acceleration clamping Sam 2025-06-16 15:30:31 -05:00
  • 6c98d5d84e Merge branch 'master' of https://git.apisb.me/Thaen/DynamicAbstractionSystem Bnenne 2025-06-16 15:24:08 -05:00
  • 15e12a73aa changed food color, transitions from red to black Bnenne 2025-06-16 15:21:29 -05:00
  • 8f6b9c8322 Merge pull request 'Implement FlexibleNeuralNetwork and enhance CellBrain with input normalization and neural network integration' (#2) from move into master Sam Bargallo 2025-06-16 20:19:59 +00:00
  • c7ca35f296 Implement FlexibleNeuralNetwork and enhance CellBrain with input normalization and neural network integration Sam 2025-06-16 15:19:32 -05:00
  • 5b9b6df997 Merge pull request 'refactored a lot of stuff into different files and generally fixed force application.' (#1) from move into master Sam Bargallo 2025-06-16 04:45:36 +00:00
  • 26f166ebee refactored a lot of stuff into different files and generally fixed force application. Sam 2025-06-15 23:44:50 -05:00
  • f0576e52d6 Add rotation and behavioral model to entities, implement DefaultCell entity Sam 2025-06-14 17:30:31 -05:00
  • 589bb13688 Remove unused imports Sam 2025-06-14 15:17:52 -05:00
  • 81128c16c8 Fix import Sam 2025-06-09 17:13:27 -05:00
  • 0177d68500 Introduce BehavioralModel and TestBrain classes for behavior modeling Sam 2025-06-09 17:06:44 -05:00
  • a64e705731 Add TestVelocityObject to simulate moving entities in the world Sam 2025-06-07 22:58:18 -05:00
  • ac08ecbc27 Disable food spawning in the simulation Sam 2025-06-06 15:01:54 -05:00
  • c0479cdcf2 Add key binding for Shift to double TPS during testing Sam 2025-06-04 20:45:43 -05:00
  • 15cf494c20 The debug interaction radius visualization now only displays on selected objects when at least one object is selected. The TPS can now also be doubled by holding shift. Sam 2025-06-04 20:45:25 -05:00
  • d93cddcb6e Remove debug render objects. Sam 2025-06-04 20:32:25 -05:00
  • a1b39f2484 togglable initial FoodObject spawn Bnenne 2025-06-03 22:31:20 -05:00
  • 049525ca59 updating with master branch Bnenne 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. Bnenne 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. Bnenne 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. Bnenne 2025-06-03 22:20:37 -05:00
  • 737d595d50 Increase zoom threshold for smoother zoom transitions in simulation Sam 2025-06-03 22:01:47 -05:00
  • 330f199657 Update food object representation to use one decimal place for decay value Sam 2025-06-03 22:00:40 -05:00
  • fe4e15eac1 Enforce world bounds for object positioning and update related tests Sam 2025-06-03 21:55:40 -05:00
  • 56415bb07a Added rounding to the object representation of the food object. Sam 2025-06-03 20:41:20 -05:00
  • 9a8217a034 Refine zoom limits in simulation interface for improved user experience Sam 2025-06-03 20:38:50 -05:00
  • 0202fe59a5 Add legend visibility toggle and pause functionality to simulation Sam 2025-06-03 20:35:53 -05:00
  • 9e7ad041b4 Update test runner configuration to use copy link mode during installation to suppress warning Sam 2025-06-03 20:21:43 -05:00
  • 55633706a2 Add tests for World class object management and querying functionality Sam 2025-06-03 20:19:54 -05:00
  • dad79942c2 Enhance World initialization with size parameters and adjust food spawning range Sam 2025-06-03 20:10:22 -05:00
  • f0e00d66b6 Add interaction radius visibility toggle and render circles for interactable objects Sam 2025-06-03 20:03:27 -05:00
  • 11bd766e62 Decay rate is now accelerated by nearby food. Sam 2025-06-03 19:55:31 -05:00
  • 3a4301f7cb Refactor Camera and Entity classes for improved type hinting and documentation using typing and pydantic. Sam 2025-06-03 19:47:39 -05:00
  • 9e3c34fd3e Enable food spawning and ensure selected objects remain valid during ticks Sam 2025-06-03 19:29:37 -05:00
  • 5eb2079da1 food work :3 Bnenne 2025-06-03 19:25:54 -05:00
  • da355dbc6c Merge branch 'food' Bnenne 2025-06-03 18:46:47 -05:00
  • 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. Sam 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 Bnenne 2025-06-02 17:01:19 -05:00
  • 56857e24b8 food turns green as it spoils Bnenne 2025-06-02 00:30:51 -05:00
  • 6952e88e61 Rendering framework Bnenne 2025-06-01 23:59:53 -05:00
  • fb5d63f636 Update .gitignore to include IDE and cache directories Sam 2025-06-01 16:21:51 -05:00
  • 784123b9e1 Add Ruff linter and formatter to pre-commit configuration Sam 2025-06-01 16:20:19 -05:00
  • 3988f0a6fc Formatting with Ruff Sam 2025-06-01 16:18:00 -05:00
  • 17a070e99b Update pip-compile hook to use pyproject.toml instead of requirements.in Sam 2025-06-01 13:59:50 -05:00
  • ad02f34b6c Remove placeholder comment from test function Sam 2025-05-31 20:23:27 -05:00
  • d57f993868 Remove test results upload action and add step to print test summary Sam 2025-05-31 20:20:16 -05:00
  • 7fc550f4dd Update test results upload action to use dorny/test-reporter and specify artifact details Sam 2025-05-31 20:17:31 -05:00
  • b5a3d6348f Add conditional upload step for test results in workflow Sam 2025-05-31 20:15:46 -05:00
  • 9ecbab5371 Remove caching configuration from uv setup step in test workflow Sam 2025-05-31 20:11:08 -05:00
  • ebf276d250 Update test results upload action to use version 3 and set retention days Sam 2025-05-31 20:09:14 -05:00
  • c98f48d4bc Refactor Python setup step in test workflow to use 'uv python install' Sam 2025-05-31 20:00:58 -05:00
  • 853d2120da Update test results upload action to use latest version Sam 2025-05-31 19:58:34 -05:00
  • 253f15b71c Fix action reference in test results upload step Sam 2025-05-31 19:57:48 -05:00
  • e00edd8137 Update test workflow to upload results using Gitea action Sam 2025-05-31 19:56:11 -05:00
  • b52690549b Enhance pre-commit configuration and update test workflow for better results reporting Sam 2025-05-31 19:54:05 -05:00
  • c3b0a12c32 Update pre-commit configuration and add initial test file Sam 2025-05-31 19:39:47 -05:00
  • 5743650e6b Add uv.lock file to manage project dependencies and versions Sam 2025-05-31 19:34:10 -05:00
  • 1d23d3f366 Add uv.lock file to manage project dependencies and versions Sam 2025-05-31 19:28:36 -05:00
  • 4775b59936 Add pytest dependency for improved testing capabilities Sam 2025-05-31 19:26:02 -05:00
  • a8103af866 Add GitHub Actions workflow for automated testing and setup Sam 2025-05-31 19:25:46 -05:00
  • 34f790ca18 Optimize grid line drawing by precomputing line coordinates for improved performance Sam 2025-05-31 19:25:36 -05:00