awesome-repositories.com
Blog
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
subprotocol avatar

subprotocol/verlet-js

0
View on GitHub↗
3,792 stars·455 forks·JavaScript·3 views

Verlet Js

verlet-js is a JavaScript 2D physics engine and Verlet integration library used to simulate point masses and geometric constraints. It functions as a computational tool for calculating particle movement and structural interactions to create stable physics animations in browser environments.

The project acts as a geometric constraint solver that enforces fixed distances and angles between interconnected nodes. This allows for the modeling of complex physical shapes and structures, such as cloth or rigid bodies, by iteratively adjusting particle positions.

The engine includes a canvas animation framework that synchronizes physics states with a browser rendering loop. It utilizes fixed timestep simulation to ensure deterministic behavior and prevent numerical instability during real-time execution.

Features

  • Verlet Integration Methods - Implements numerical integration techniques that track coordinate history to maintain stability in real-time physics simulations.
  • Verlet Integration - Applies Verlet integration to calculate positions and velocities for stable, interactive 2D particle dynamics.
  • 2D Physics Simulations - Provides a simulation environment for gravity, friction, and collisions within a two-dimensional plane.
  • Structural Constraint Enforcement - Maintains fixed distance and angular relationships between particles to construct stable structural shapes.
  • Gauss-Seidel Constraint Solvers - Employs iterative solvers to resolve distance and angle constraints, maintaining structural stability for complex shapes.
  • Physics Simulation Engines - Serves as a software system that calculates physical interactions and dynamics for interactive 2D browser environments.
  • Simulation Timestepping - Controls discrete time intervals and sub-stepping to ensure the stability and determinism of the physics simulation.
  • 2D Particle Simulators - Calculates point mass movement and interaction in two-dimensional space using numerical integration.
  • Geometric Constraint Solvers - Calculates spatial positions of particles by solving geometric relationships to create structures like cloth and webs.
  • Verlet Integration Loops - Provides the numerical integration foundations necessary to calculate positions and velocities in physics simulations.
  • Physics Constraint Graphs - Uses a graph structure of interconnected nodes and edges to propagate physical forces and constraints.
  • Fixed-Timestep Loops - Ensures deterministic physics behavior by advancing simulation at a constant rate decoupled from frame rendering.
  • Render Loops - Implements sequential update cycles that synchronize physics logic and screen redrawing within the browser.
  • Canvas-Based Animation Frameworks - Provides a rendering cycle framework for executing and synchronizing physics states on a canvas surface.
  • Physics-Based Animations - Creates natural, responsive movement behaviors in the browser by applying real-world physical properties to animations.

Star history

Star history chart for subprotocol/verlet-jsStar history chart for subprotocol/verlet-js

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does subprotocol/verlet-js do?

verlet-js is a JavaScript 2D physics engine and Verlet integration library used to simulate point masses and geometric constraints. It functions as a computational tool for calculating particle movement and structural interactions to create stable physics animations in browser environments.

What are the main features of subprotocol/verlet-js?

The main features of subprotocol/verlet-js are: Verlet Integration Methods, Verlet Integration, 2D Physics Simulations, Structural Constraint Enforcement, Gauss-Seidel Constraint Solvers, Physics Simulation Engines, Simulation Timestepping, 2D Particle Simulators.

What are some open-source alternatives to subprotocol/verlet-js?

Open-source alternatives to subprotocol/verlet-js include: liabru/matter-js — Matter-js is a 2D rigid body physics engine written in JavaScript for simulating realistic physical interactions,… wellcaffeinated/physicsjs — PhysicsJS is a JavaScript physics engine and 2D rigid body simulator designed to calculate the collisions,… formidablelabs/react-game-kit — This is a game engine library for building interactive games using React and React Native components. It provides a… attackondobby/ios-core-animation-advanced-techniques — This project is a technical guide and implementation library for advanced visual effects and hardware-accelerated… solvespace/solvespace — SolveSpace is a parametric CAD software and 3D solid modeler. It functions as a constraint-based geometry solver that… soulwire/coffee-physics — Coffee-Physics is a lightweight physics engine designed for two-dimensional particle simulation within web…

Open-source alternatives to Verlet Js

Similar open-source projects, ranked by how many features they share with Verlet Js.
  • liabru/matter-jsliabru avatar

    liabru/matter-js

    18,256View on 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
    View on GitHub↗18,256
  • wellcaffeinated/physicsjswellcaffeinated avatar

    wellcaffeinated/PhysicsJS

    3,705View on GitHub↗

    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 capabilitie

    JavaScript
    View on GitHub↗3,705
  • formidablelabs/react-game-kitFormidableLabs avatar

    FormidableLabs/react-game-kit

    4,605View on GitHub↗

    This is a game engine library for building interactive games using React and React Native components. It provides a centralized game loop and state management system to coordinate logic and updates on every game tick. The framework includes a coordinate system for cross-platform scaling that distributes factors across a component tree to maintain consistent positioning across different screen sizes. It also features a sprite animation system for rendering sequential frames from sprite sheets and a tile map renderer that constructs multi-layered terrain using a tile atlas and grid-based indexe

    JavaScriptcomponent-treegamematter
    View on GitHub↗4,605
  • attackondobby/ios-core-animation-advanced-techniquesAttackOnDobby avatar

    AttackOnDobby/iOS-Core-Animation-Advanced-Techniques

    4,489View on GitHub↗

    This project is a technical guide and implementation library for advanced visual effects and hardware-accelerated animations using the Core Animation framework on iOS. It provides a comprehensive reference for creating high-performance motion graphics, custom graphic rendering, and the construction of 3D engines using perspective transforms and Z-axis manipulation. The collection distinguishes itself through a deep focus on GPU rendering optimization and graphics performance. It covers advanced strategies to maintain high frame rates, such as reducing offscreen rendering via shadow path optim

    View on GitHub↗4,489
See all 30 alternatives to Verlet Js→