Bu proje, Hollow Knight (ve benzeri) stilde başlık / banner görselleri oluşturmanızı sağlayan küçük bir Svelte uygulamasıdır.
Özellikler
Hızlı başlangıç
npm install
npm run dev
http://localhost:5000 (veya rollup çıktısına göre) açın.Proje yapısı
components/CanvasPreview.svelte — Canvas render ve indirme işlemlericomponents/Controls.svelte — UI kontrolleriutils.js — yardımcı fonksiyonlar ve sınıflarNotlar — modernizasyon
Lisans Bu depo örnek amaçlıdır.
This project is a small Svelte application for creating Hollow Knight-style title/banner images.
Features
Quick start
npm install
npm run dev
How it works
CanvasPreview (renders canvas, handles download) and Controls (user input).Project structure
src/ — Svelte source filessrc/components/CanvasPreview.svelte — Canvas rendering and download logicsrc/components/Controls.svelte — Inputs and controlssrc/App.svelte — App shell that wires components togethersrc/utils.js — Helper functions and classes (canvasHelper, BannerParams)Modernization suggestions
Contributing
License This repository is provided as an example project.
npm install
npm run dev
Then Navigate to localhost:5000.
To create an optimised version of the app:
npm run build
You can run the newly built app with npm run start. This uses sirv, which is included in your package.json's dependencies so that the app will work when you deploy to platforms like Heroku.