import { writable, type Writable } from 'svelte/store'; export type DepthImage = { image: string; depth: string; }; export const customImages: Writable = writable([]); const folderPath = '/image2fake3d/images/'; export const presetImages: DepthImage[] = [ { image: folderPath + 'lion.png', depth: folderPath + 'lion-depth.png' }, { image: folderPath + 'forest.png', depth: folderPath + 'forest-depth.png' }, { image: folderPath + 'architecture.png', depth: folderPath + 'architecture-depth.png' }, { image: folderPath + 'soccer.png', depth: folderPath + 'soccer-depth.png' }, { image: folderPath + 'flowers.png', depth: folderPath + 'flowers-depth.png' }, { image: folderPath + 'street.png', depth: folderPath + 'street-depth.png' }, { image: folderPath + 'corals.png', depth: folderPath + 'corals-depth.png' } ]; export const useCustomImage: Writable = writable(false); export const currentImageIndex: Writable = writable(0); export const showMenu: Writable = writable(false); export const isRunning: Writable = writable(false);