import { writable } from 'svelte/store'; import type { Brush, Params } from '../types'; import { randomSeed } from '$lib/utils'; export const resultImage = writable(); export const currentCanvas = writable(); export const selectedImageBlob = writable(); export const selectedBrush = writable(); export const selectedParams = writable({ texture: '', seed: randomSeed(), steps: 10 }); export const generateHuman = writable(false); export const saveResult = writable(false);