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.7.0.tar.gz (25.8 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.7.0-py3-none-any.whl (55.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: liblaf_apple-0.7.0.tar.gz
  • Upload date:
  • Size: 25.8 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.7.0.tar.gz
Algorithm Hash digest
SHA256 2fe8e1c680e841828d45e0d0662a32fd366362fdc445a9d4f720edf464ba86ad
MD5 7600055b611bf1745c9b609290cf167a
BLAKE2b-256 08049902dcbca0906ada2eb6ad7f7bc5bd5181566927114fb69e70b34bbcf6d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for liblaf_apple-0.7.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.7.0-py3-none-any.whl.

File metadata

  • Download URL: liblaf_apple-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 55.9 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.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b866a50f6fb27b7d7610959815d08cccfb6a89859e0cd42a8364e34ce0c50247
MD5 7fb5913ec25696f44465eda165d8fa43
BLAKE2b-256 3068d73ae6271cc2bf27a3653f96d18a328aec85dcaaf0d99a512b119d0d1adf

See more details on using hashes here.

Provenance

The following attestation bundles were made for liblaf_apple-0.7.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