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.6.1.tar.gz (20.1 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.6.1-py3-none-any.whl (44.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: liblaf_apple-0.6.1.tar.gz
  • Upload date:
  • Size: 20.1 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.6.1.tar.gz
Algorithm Hash digest
SHA256 cc5ef540410e18e0a44a52f6320aaa2f15133ae64374df7c88a0eb8452cc9265
MD5 799df6a9467230eb6658f44ccae67652
BLAKE2b-256 ecb66a5bb42226c58336483ac8e4b6c5013b6f9882602d7c9b437ba5f7d5f0cf

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: liblaf_apple-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 44.5 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.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8c2b89b64f10b4c67cf7d2895d4208df3ffdb77e018407a9e0ee51d0771c9f6a
MD5 b3013a06bff3c063972c36e154809568
BLAKE2b-256 ef17099126243b552dd71562a46bdacdecfb5538280cfde328fd61a175989aa7

See more details on using hashes here.

Provenance

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