Skip to main content

🍎 A JAX and Warp library for differentiable physics simulation, featuring elastic energy models and finite element methods.

Project description

✨ Features

  • 🧮 Finite Element Simulation: Provides tools for simulating deformable objects using tetrahedral and triangular meshes with support for various elasticity models;
  • 🔄 Differentiable Physics: Enables gradient-based optimization through automatic differentiation using JAX and Warp integration;
  • Efficient Optimization: Implements advanced algorithms like Preconditioned Nonlinear Conjugate Gradient (PNCG) for real-time physics simulations;
  • 🎯 Elasticity Models: Features multiple material models including ARAP (As-Rigid-As-Possible) and active muscle simulation capabilities;
  • 📊 Meshing & Visualization: Integrates with PyVista for mesh processing and visualization, supporting both surface and volumetric meshes;
  • 🧩 Modular Design: Offers a clean architecture with separated components for energies, optimizers, and geometry handling;

📦 Installation

To install liblaf-apple, run the following command:

uv add liblaf-apple

⌨️ Local Development

You can use Github Codespaces for online development:

Or clone it for local development:

gh repo clone liblaf/apple
cd apple
mise run install

🤝 Contributing

Contributions of all types are more than welcome, if you are interested in contributing code, feel free to check out our GitHub Issues to get stuck in to show us what you're made of.

PR Welcome

Contributors

🔗 More Projects

  • 🍇 Grapes - Supercharge your Python with rich logging, precise timing, and seamless serialization.
  • 🍉 Melon - A comprehensive Python library for 3D mesh processing with advanced I/O capabilities, proximity analysis, and integration with external mesh processing tools.
  • 🍊 Tangerine - Squeeze dynamic content into your files with Tangerine's template magic.
  • 🍋‍🟩 Lime - AI-powered Git commit assistant and repository documentation generator
  • 🍎 Apple - A JAX and Warp library for differentiable physics simulation, featuring elastic energy models and finite element methods.
  • 🍒 Cherries - Sweet experiment tracking with Comet, DVC, and Git integration.

📝 License

Copyright © 2025 liblaf.
This project is MIT licensed.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

liblaf_apple-0.5.0.tar.gz (28.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

liblaf_apple-0.5.0-py3-none-any.whl (67.2 kB view details)

Uploaded Python 3

File details

Details for the file liblaf_apple-0.5.0.tar.gz.

File metadata

  • Download URL: liblaf_apple-0.5.0.tar.gz
  • Upload date:
  • Size: 28.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for liblaf_apple-0.5.0.tar.gz
Algorithm Hash digest
SHA256 231b4dc0fc546b6c28c33ec54affa5847cee357a247355966f208722ab51820e
MD5 6c9c9619849891442e0455621fc82795
BLAKE2b-256 499f73526f42834b7f0d64beea34067dcb3424cdb6a52a37d9aad050041a596d

See more details on using hashes here.

Provenance

The following attestation bundles were made for liblaf_apple-0.5.0.tar.gz:

Publisher: release.yaml on liblaf/apple

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file liblaf_apple-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: liblaf_apple-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 67.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for liblaf_apple-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0be6ee45e158a816d6e95933bf1ccba04b9699d85e133e1c5be1fd2cd908d2be
MD5 67824ecccd27be014d5880fe24b3c5cc
BLAKE2b-256 64484d5be5ecb3fed3f581940d09a24cf78a49a8c3634a4c0f2c4f1b7dbaa211

See more details on using hashes here.

Provenance

The following attestation bundles were made for liblaf_apple-0.5.0-py3-none-any.whl:

Publisher: release.yaml on liblaf/apple

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page