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:
|
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`
|
`pug index.pug index.html`
|
||||||
|
|
||||||
`lessc style.less style.css`
|
`lessc style.less style.css`
|
||||||
|
|
||||||
`pug` and `less` can be installed via `npm` as follows:
|
`pug` and `less` can be installed via `npm` as follows:
|
||||||
|
|
||||||
`npm install -g pug-cli`
|
`npm install -g pug-cli`
|
||||||
|
|
||||||
`npm install -g less`
|
`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:
|
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)?:\/\/|^\/\//)) {
|
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
|
## to do
|
||||||
|
|
||||||
layout idea:
|
* write Bitsy data
|
||||||
game data | image | palette
|
* create new tiles based on image
|
||||||
crop | preview | output
|
* only add unique new tiles
|
||||||
|
* implement slider (*always use existing tiles* -> *always create new tiles*) (representing 0-64 threshold for # of common pixels)
|
||||||
* read Bitsy data
|
* move includes to subdirectory
|
||||||
** ~~tiles~~
|
* re-style the damn thing
|
||||||
** ~~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
|
|
||||||
* reorganise the page layout for a more logical workflow
|
* reorganise the page layout for a more logical workflow
|
||||||
** hide page sections the user does not need to know about yet?
|
|
||||||
* handle animated tiles?
|
* handle animated tiles?
|
||||||
|
* profile script performance and optimise where most needed
|
||||||
|
|
||||||
## could do
|
## could do
|
||||||
|
|
||||||
* ~~add some default data~~
|
* add some more palettes?
|
||||||
** ~~tiles (e.g. petscii or some 'user-donated' tiles)~~
|
* add some alternate default tiles? something more useful e.g. dithered gradients?
|
||||||
** ~~palettes~~
|
|
||||||
* add dithering options
|
* add dithering options
|
||||||
* add camera support so users can take a pic instead of uploading an image
|
* add camera support so users can take a pic instead of uploading an image
|
||||||
* add a 'smoothing' stage to remove errant pixels
|
* add a 'smoothing' stage to remove errant pixels
|
||||||
|
|
Loading…
Reference in New Issue