{"id":14977849,"url":"https://github.com/christophercrouzet/hienoi","last_synced_at":"2025-07-15T19:39:06.207Z","repository":{"id":57437304,"uuid":"90687800","full_name":"christophercrouzet/hienoi","owner":"christophercrouzet","description":"2D particle framework.","archived":false,"fork":false,"pushed_at":"2022-05-15T06:16:05.000Z","size":407,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-15T07:36:32.053Z","etag":null,"topics":["2d","nani","numpy","opengl","particles"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/christophercrouzet.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-09T01:18:14.000Z","updated_at":"2024-01-31T17:08:28.000Z","dependencies_parsed_at":"2022-09-11T03:30:34.493Z","dependency_job_id":null,"html_url":"https://github.com/christophercrouzet/hienoi","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/christophercrouzet/hienoi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christophercrouzet%2Fhienoi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christophercrouzet%2Fhienoi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christophercrouzet%2Fhienoi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christophercrouzet%2Fhienoi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/christophercrouzet","download_url":"https://codeload.github.com/christophercrouzet/hienoi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christophercrouzet%2Fhienoi/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265455652,"owners_count":23768580,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["2d","nani","numpy","opengl","particles"],"created_at":"2024-09-24T13:56:26.233Z","updated_at":"2025-07-15T19:39:06.167Z","avatar_url":"https://github.com/christophercrouzet.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Hienoi\n======\n\n.. image:: https://img.shields.io/pypi/v/hienoi.svg\n   :target: https://pypi.python.org/pypi/hienoi\n   :alt: PyPI latest version\n\n.. image:: https://img.shields.io/pypi/l/hienoi.svg\n   :target: https://pypi.python.org/pypi/hienoi\n   :alt: License\n\n\nHienoi is a framework offering an intuitive visual programming experience based\naround simple 2D particle physics.\n\n\nFeatures\n--------\n\n* 2D particle simulation.\n* GUI with OpenGL viewport.\n* user-friendly API.\n* support for per-particle user attributes.\n* fast when directly operating particles through NumPy.\n* compatible with both Python 2 and Python 3.\n\n\nUsage\n-----\n\n.. code-block:: python\n\n   \u003e\u003e\u003e import hienoi.application\n   \u003e\u003e\u003e from hienoi import Vector2f\n   \u003e\u003e\u003e def initialize_particle_simulation(sim):\n   ...     sim.add_particle(position=Vector2f(25.0, 0.0))\n   \u003e\u003e\u003e def update_particle_simulation(sim):\n   ...     particle = sim.particles[0]\n   ...     particle.force -= particle.position\n   \u003e\u003e\u003e hienoi.application.run(\n   ...     particle_simulation={\n   ...         'initialize_callback': initialize_particle_simulation,\n   ...         'postsolve_callback': update_particle_simulation,\n   ...     })\n\n\nMore commented examples can be found in the ``demos`` folder.\n\n\nInstallation\n------------\n\n.. code-block:: bash\n\n   $ pip install hienoi\n\n\nDemos\n-----\n\nintro\n^^^^^\n\n.. image:: img/intro.gif\n   :alt: intro\n\n\nequilibrium\n^^^^^^^^^^^\n\n.. image:: img/equilibrium.gif\n   :alt: equilibrium\n\n\ntrail\n^^^^^\n\n.. image:: img/trail.gif\n   :alt: trail\n\n\norbit\n^^^^^\n\n.. image:: img/orbit.gif\n   :alt: orbit\n\n\nHotkeys\n-------\n\n+-----------------------+--------------------------------------------+\n|  ``space`` + ``LMB``  |  move view                                 |\n+-----------------------+--------------------------------------------+\n|  ``space`` + ``RMB``  |  zoom view                                 |\n+-----------------------+--------------------------------------------+\n|  ``d``                |  change the display mode of the particles  |\n+-----------------------+--------------------------------------------+\n|  ``f``                |  fit the view to the scene                 |\n+-----------------------+--------------------------------------------+\n|  ``g``                |  show/hide the grid                        |\n+-----------------------+--------------------------------------------+\n|  ``r``                |  reset the view                            |\n+-----------------------+--------------------------------------------+\n\n\nAuthor\n------\n\nChristopher Crouzet\n\u003c`christophercrouzet.com \u003chttps://christophercrouzet.com\u003e`_\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristophercrouzet%2Fhienoi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchristophercrouzet%2Fhienoi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristophercrouzet%2Fhienoi/lists"}