toreole / img2mc Goto Github PK
View Code? Open in Web Editor NEWA web app to convert pixelart into minecraft block mosaics
A web app to convert pixelart into minecraft block mosaics
Settings need to prevail between pages.
The most obvious solutions are:
either add a scoped service to the lifetime of the web app - note: settings may be directly set on the ImageReconstructor which can be injected as a ScopedService
or use the browsers localStorage
a lot of settings can be done on the Index Page, maybe with a side drawer or something
The main point of the page is to enable / disable specific blocks from appearing in generation. the list / table of things should be sortable to find blocks
The deployed build on GH Pages doesnt respond to input the same way the locally hosted debug build does.
IDK why it would just randomly work differently but eh
on the deployed version:
After switching to the Settings page, the page reload / re-render of Index ceases to work.
It no longer rerenders when completing processing an image, and needs to be fully reloaded to fix. This does not happen when testing the page locally.
Also: Yeah i probably messed up the navlink by having a / at the start. idk.
while running, add discovered links to dictionary until changes are made? i.e. Check the dictionary with the pixel value, then check if that block/texture is excluded.
custom implementation instead of linq query
Okay so the actual reconstruction is pretty fast now.
The problem is MudTooltips. They mess up performance when theres too many elements.
The texture metadata JSON file should be a little bit more complex than simply being an array of the current iteration of the TextureMetadata class.
Criteria:
Block
Block
Datatype should consist of:
In light of the recent changes to the tex_metadata.json, the image reconstruction code needs to be updated to use the correct datatype to deserialize the JSON file into.
The code used for generating the tex_metadata.json file should be included in the repository.
This project should not be included when building the solution for deployment
To make it work with cross platform, replace usage of System.Drawing.Bitmap with the appropriate equivalent from ImageSharp
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.