awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
wellcaffeinated avatar

wellcaffeinated/PhysicsJSArchived

0
View on GitHub↗
3,705 stars·407 forks·JavaScript·MIT·7 vueswellcaffeinated.net/PhysicsJS↗

PhysicsJS

PhysicsJS is a JavaScript physics engine and 2D rigid body simulator designed to calculate the collisions, constraints, and dynamics of physical bodies. It functions as a modular physics library for simulating the movement and interaction of circular bodies and convex polygons.

The engine implements constraint-based dynamics to enforce distance and angle constraints between objects, enabling the creation of articulated structures and linked physics. It utilizes impulse-based resolution to handle collisions and prevent objects from passing through one another.

The library provides capabilities for managing dynamic, kinematic, and static bodies, applying environmental forces, and performing spatial queries. It includes tools for analyzing geometric properties and rendering the simulation state to canvas or document elements. It also supports user interaction via mouse and touch events to manipulate bodies within the simulation.

Features

  • 2D Rigid Body Physics Engines - Provides a 2D rigid body physics engine for calculating interactions between convex polygons and circular bodies.
  • Physics Engines - Compute the dynamics and interactions of physical bodies using configurable integrators and behaviors.
  • Rigid Body Dynamics - Calculates the movement and interaction of circular and polygonal bodies to create realistic physical motion.
  • Structural Constraint Enforcement - Enforces distance and angle constraints between bodies to create articulated structures and linked physics.
  • Constraint-Based Dynamics Engines - Implements a constraint-based dynamics engine to create linked physics and articulated structures.
  • Physical Body Management - Tracks physical bodies and manages their movement states as dynamic, kinematic, or static.
  • Collision Detection - Identifies overlaps between physical bodies and publishes collision events using optimized search.
  • Collision Resolution - Calculates and applies physical responses to resolve overlaps and conserve momentum between colliding objects.
  • Mechanical Joint Constraints - Provides distance and angle constraints to link physical bodies into articulated structures.
  • Physics Simulation Engines - Functions as a physics simulation engine for calculating physical interactions and dynamics within a JavaScript environment.
  • Articulated Body Simulators - Simulates multi-joint articulated chains and rigid body dynamics via distance and angle constraints.
  • Sequential Impulse Solvers - Implements sequential impulse solvers to resolve constraints by applying velocity changes to colliding bodies.
  • 2D Game Development Foundations - Implements fundamental 2D game mechanics including gravity, collision detection, and articulated body constraints.
  • Multi-Phase Collision Detection - Implements a coarse broad-phase search to prune distant objects before performing precise narrow-phase intersection tests.
  • Physics World Queries - Performs spatial queries including bounding box overlaps and rule-based filtering to find bodies in the world.
  • Interactive Web Experiences - Enables the creation of interactive web experiences where users can manipulate physical objects via mouse and touch.
  • User Interaction - Captures mouse and touch events to allow users to grab and manipulate bodies within the simulation.
  • Geometric Property Calculations - Computes intrinsic geometric measurements such as area, centroids, and moments of inertia for 2D entities.
  • Global Environmental Forces - Implements global physical effects such as constant acceleration for gravity and inverse-square law attraction.
  • Interchangeable Integration Schemes - Allows the use of interchangeable mathematical schemes for updating object positions and velocities.
  • Numerical Integration Solvers - Provides numerical integration solvers to advance the state of the physical system through discrete time steps.
  • Planar Geometric Analysis - Performs planar geometric analysis on convex polygons to compute area and moments of inertia.
  • Spatial Partitioning Trees - Uses spatial partitioning structures to organize physical objects and accelerate collision detection.
  • Behavioral Logic Injection - Provides a system for attaching modular, reusable rule sets to physics entities to automate movement and interactions.
  • Simulation Behavior Injection - Decouples environmental forces and physical laws from the core engine via custom logic injection.
  • Web Physics Libraries - Offers a modular collection of simulation logic and mathematical functions for calculating physics in web environments.
  • Game Engines - Modular physics engine for web-based game simulations.
  • Game Engines and Frameworks - Modular physics engine for JavaScript.

Historique des stars

Graphique de l'historique des stars pour wellcaffeinated/physicsjsGraphique de l'historique des stars pour wellcaffeinated/physicsjs

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Questions fréquentes

Que fait wellcaffeinated/physicsjs ?

PhysicsJS is a JavaScript physics engine and 2D rigid body simulator designed to calculate the collisions, constraints, and dynamics of physical bodies. It functions as a modular physics library for simulating the movement and interaction of circular bodies and convex polygons.

Quelles sont les fonctionnalités principales de wellcaffeinated/physicsjs ?

Les fonctionnalités principales de wellcaffeinated/physicsjs sont : 2D Rigid Body Physics Engines, Physics Engines, Rigid Body Dynamics, Structural Constraint Enforcement, Constraint-Based Dynamics Engines, Physical Body Management, Collision Detection, Collision Resolution.

Quelles sont les alternatives open-source à wellcaffeinated/physicsjs ?

Les alternatives open-source à wellcaffeinated/physicsjs incluent : liabru/matter-js — Matter-js is a 2D rigid body physics engine written in JavaScript for simulating realistic physical interactions,… erincatto/box2d — Box2D is a 2D physics engine and rigid body simulator designed to compute collisions, forces, and joints in a… avianphysics/avian — Avian is a 2D physics engine and rigid body dynamics simulator designed to calculate physical motion using mass,… tmallfe/tmallfe.github.io — This project is a multi-purpose web platform serving as a canvas 2D game engine, a frontend engineering blog, and a… dimforge/rapier — Rapier is a cross-platform physics engine and rigid body dynamics solver designed for 2D and 3D simulations. It… jrouwe/joltphysics — JoltPhysics is a high-performance C++ physics engine designed for multi-threaded simulation of 3D rigid bodies and…

Alternatives open source à PhysicsJS

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec PhysicsJS.
  • liabru/matter-jsAvatar de liabru

    liabru/matter-js

    18,256Voir sur GitHub↗

    Matter-js is a 2D rigid body physics engine written in JavaScript for simulating realistic physical interactions, collisions, and dynamics in web browsers. It functions as a web physics simulation library that calculates motion, gravity, and constraints for objects rendered on a web canvas. The library includes a built-in canvas physics visualizer to draw physical bodies, joints, and constraints for debugging and gameplay. It distinguishes itself through a plugin system that supports recursive dependency resolution and internal method patching to inject custom logic into the engine's executio

    JavaScriptcanvasjavascriptphysics
    Voir sur GitHub↗18,256
  • erincatto/box2dAvatar de erincatto

    erincatto/box2d

    9,505Voir sur GitHub↗

    Box2D is a 2D physics engine and rigid body simulator designed to compute collisions, forces, and joints in a two-dimensional plane. It functions as a collision detection library and a constraint-based physics solver that calculates the movement and interaction of solid objects using mass, friction, and restitution properties. The engine ensures consistency across different hardware architectures through a deterministic trigonometry implementation. It prevents high-speed objects from passing through boundaries using continuous collision detection and time-of-impact interpolation. The system

    C
    Voir sur GitHub↗9,505
  • avianphysics/avianAvatar de avianphysics

    avianphysics/avian

    3,018Voir sur GitHub↗

    Avian is a 2D physics engine and rigid body dynamics simulator designed to calculate physical motion using mass, forces, and velocity. It provides a framework for simulating rigid body dynamics, collision detection, and joint constraints for games and applications. The engine utilizes a modular physics pipeline with a plugin-based architecture, allowing for the customization of simulation fidelity settings and the extension of collision backends. It includes a specialized kinematic character controller for implementing entity movement and sliding behavior against physical geometry. The syste

    Rust2d3dbevy
    Voir sur GitHub↗3,018
  • tmallfe/tmallfe.github.ioAvatar de tmallfe

    tmallfe/tmallfe.github.io

    3,905Voir sur GitHub↗

    This project is a multi-purpose web platform serving as a canvas 2D game engine, a frontend engineering blog, and a markdown static site generator. It functions as a web graphics showcase and a technical knowledge base for sharing architectural decisions and performance optimizations. The platform implements a high-performance graphics framework using low-level drawing APIs, integrating skeletal animation and web physics for collision detection and realistic motion of two-dimensional objects. It simultaneously operates as a system for converting markdown source files into pre-rendered HTML pa

    HTML
    Voir sur GitHub↗3,905
Voir les 30 alternatives à PhysicsJS→