bevy_deepzoom 0.0.1

Deep Zoom Image (DZI) tile streaming for Bevy 2D cameras
Documentation

bevy_deepzoom

bevy_deepzoom demo

bevy_deepzoom efficiently renders Deep Zoom Image (DZI) tile pyramids in Bevy.

Compatible with Bevy 0.17.2.

Usage

use bevy::prelude::*;
use bevy_deepzoom::{DeepZoom, DeepZoomConfig, DeepZoomPlugin};

fn spawn_camera(mut commands: Commands) {
    let config = DeepZoomConfig::new("assets/map/tiles.dzi", "assets/map/tiles_files");

    commands.spawn((Camera2d, DeepZoom::from_config(config)));
}

fn main() {
    App::new()
        .add_plugins(DefaultPlugins)
        .add_plugins(DeepZoomPlugin)
        .add_systems(Startup, spawn_camera)
        .run();
}

Docs

See https://docs.rs/bevy_deepzoom.