New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

three-pinata

Three.js library for fracturing and slicing non-convex meshes in real time.

76

Supply Chain Security

82

Quality

78

Maintenance

100

Vulnerabilities

100

License


Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created

three-pinata

Fork Information

This repository is a fork of three-pinata. The reason for this fork is to decouple the physics engine from the original project and publish it on npm for easier integration into other projects.

three-pinata

Three.js library for fracturing and slicing non-convex meshes in real time.

This is a Typescript port of the OpenFracture library I wrote for Unity several years ago.

The demo app utilizes Rapier for the collision detection and physics.

Live Demo

https://nyan-left.github.io/three-pinata/

Running Demo Locally

  1. Clone the repo
  2. Run the following commands in the root folder
npm install
npm run dev
  1. Go to http://127.0.0.1:5173/three-pinata/ in your browser.

Documentation

Coming soon!

Todo

  • Improved demo
  • Offload computation to web workers
  • Handle multiple geometry groups
  • Support for meshes with tangent data

FAQs

Package last updated on 10 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts