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.0.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.0-py3-none-any.whl (44.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: liblaf_apple-0.6.0.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.0.tar.gz
Algorithm Hash digest
SHA256 2499d242c1aa926ff4d1b78321fec6fde921bb2f9a441b5533c32f00de6a58cc
MD5 67a94cab02d4a9b0868181458bdee038
BLAKE2b-256 bfbbc95269586c45b797822f2eae3b77cee65e24c5496a3bd42ca108442bee6e

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: liblaf_apple-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 44.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.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1e925085bf7d15ad44b4e5f82de6476ede3ca92395d28cf47a21294878e2507e
MD5 b3a659cac3131da1d8362107fcd0e32b
BLAKE2b-256 0b3dd07c449769a0842405f914679e5192deb7dc26d3e2368d55d01fd0783ac9

See more details on using hashes here.

Provenance

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