updated bugs/to-do list
This commit is contained in:
parent
3c67f54c1d
commit
e5be3d4c3f
34
readme.md
34
readme.md
|
@ -20,11 +20,13 @@ to **Foliotek** for the **Croppie** image plugin
|
|||
The stylesheet and html are autogenerated; if you want to alter them please edit the pug template or less stylesheet, e.g. from the command line as follows:
|
||||
|
||||
`pug index.pug index.html`
|
||||
|
||||
`lessc style.less style.css`
|
||||
|
||||
`pug` and `less` can be installed via `npm` as follows:
|
||||
|
||||
`npm install -g pug-cli`
|
||||
|
||||
`npm install -g less`
|
||||
|
||||
I had to hack the included Croppie plugin to allow the user to upload images from their own computer without falling foul of CORS restrictions. So the version bundled here is non-standard. It's a one-line change:
|
||||
|
@ -36,31 +38,27 @@ croppie.js:182 (mine)
|
|||
if (src.match(/^(file|https)?:\/\/|^\/\//)) {
|
||||
```
|
||||
|
||||
## bugs
|
||||
|
||||
* certain colours cause palette to fail- I think rgb values below 16 result in a single 0-f value instead of being zero-padded
|
||||
* output seems to be offset by 1 tile? check whether iteration is from 0-15 or from 1-16
|
||||
|
||||
## to do
|
||||
|
||||
layout idea:
|
||||
game data | image | palette
|
||||
crop | preview | output
|
||||
|
||||
* read Bitsy data
|
||||
** ~~tiles~~
|
||||
** ~~palettes~~
|
||||
* ~~read Bitsy data from html file~~
|
||||
* ~~add palette choice~~
|
||||
* create bitsy tiles from image
|
||||
** only add unique new tiles
|
||||
** find closest existing tiles and use those if desired
|
||||
*** add a slider? (*always use existing tiles* -> *always create new tiles*) (representing 0-64 threshold for # of common pixels)
|
||||
* style the damn thing
|
||||
* write Bitsy data
|
||||
* create new tiles based on image
|
||||
* only add unique new tiles
|
||||
* implement slider (*always use existing tiles* -> *always create new tiles*) (representing 0-64 threshold for # of common pixels)
|
||||
* move includes to subdirectory
|
||||
* re-style the damn thing
|
||||
* reorganise the page layout for a more logical workflow
|
||||
** hide page sections the user does not need to know about yet?
|
||||
* handle animated tiles?
|
||||
* profile script performance and optimise where most needed
|
||||
|
||||
## could do
|
||||
|
||||
* ~~add some default data~~
|
||||
** ~~tiles (e.g. petscii or some 'user-donated' tiles)~~
|
||||
** ~~palettes~~
|
||||
* add some more palettes?
|
||||
* add some alternate default tiles? something more useful e.g. dithered gradients?
|
||||
* add dithering options
|
||||
* add camera support so users can take a pic instead of uploading an image
|
||||
* add a 'smoothing' stage to remove errant pixels
|
||||
|
|
Loading…
Reference in New Issue