Skip to content

OpenLavaFormat/MoltenLava

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”₯ MoltenLava

MoltenLava is a Swift package that provides a real-time renderer for Lava animation format using Metal. It enables efficient tile-based animation playback with real-time performance on Apple platforms.

Designed to work seamlessly on macOS & iOS.

✨ Features

  • πŸ” Real-time playback of Lava animations
  • 🎨 Tile-based frame decoding using MTLBlitCommandEncoder
  • πŸ“¦ Parses .lava/.olava animation manifests and image frames
  • πŸ“± Cross-platform: macOS & iOS
  • πŸ’‘ Smooth real-time playback via LavaView

πŸš€ Getting Started

Add MoltenLava to your Swift package dependencies:

dependencies: [
    .package(url: "https://github.com/OpenLavaFormat/MoltenLava.git", from: "0.1.0")
]

Or add it to your Xcode project using File > Add Packages...

πŸ“Έ Example

Check out the example project that demonstrates how to use MoltenLava to render Lava animations in a SwiftUI application:

OpenLava/Examples/MoltenLavaExample

πŸ“‚ File Format

This package plays back Lava animations packaged as either:

  • Folders containing:
    • manifest.json: animation metadata and frame diffs
    • Image frames: referenced in the manifest by filename

🀝 Contributing

Contributions are welcome!

Feel free to open an issue or submit a PR if you'd like to improve rendering performance, support new features, or extend platform support.

πŸ“„ License

MIT License Β© 2025 AlexStrNik

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages