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.4.0.tar.gz (33.7 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.4.0-py3-none-any.whl (74.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: liblaf_apple-0.4.0.tar.gz
  • Upload date:
  • Size: 33.7 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.4.0.tar.gz
Algorithm Hash digest
SHA256 76ac0847ca910c13c2a8635cd19a7f682b805a1fd1d676f1fb8915831d1b6fc0
MD5 6c4b89b35f6af937d3e0bbb1dde1654e
BLAKE2b-256 e7ffd065cb0fb7096dd47fbfb460661db25fe1f20cd1bdbf599d5ad165c854a3

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: liblaf_apple-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 74.6 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1bc2c29e4d0956746e20f4e6522f1f18b444361455e26729724496729471110f
MD5 1b2d64c242fd7468de1f19c5824f3712
BLAKE2b-256 35daa51f4e039de3f6297b2be52ba468c18d8f9b28e1a6e63cea1aaac8ad20c4

See more details on using hashes here.

Provenance

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