asciibird/README.md

219 lines
8.0 KiB
Markdown
Raw Normal View History

2020-12-19 00:14:06 +00:00
# ASCIIBIRD
2021-05-15 01:52:20 +00:00
```
┏ ┰╛ ╔═━┉┈┉╼━━╌┈╍┅┉╌┄┉┉━═╾─┈═──┄┈╼╍═┈┄╍═╍╼━┈─┈╼┉╍┅╌╮
╘███╏████╒█ ┕█ http://jewbird.live/ ╏
█┻█ █┦█ █╕ http://yt.jewbird.live/ ┇
╔╼█ ████ ████╚━ http://patreon.jewbird.live/ ┃
╕ █ █ █┉╍█ ┌█═ http://streamlabs.jewbird.live/ ╽
━█████ █ ██ █ ╯█ ASCIIBIRD TAKING FLIGHT ╎
┸╮ ╛ ╘╼┈┅┅──━┈┉┅┈╍┄┈┄┈╍┉╾╾╼╍═━╾╾┄╼╾═─┈═┉═╼┅─┈━╌╾╾┅╯
[BTC] 1L2u8mQs5pe7k11ozn2BgX388e3fGMD7qo
[XMR] 832owKc3ZuGCnmjHXHeZeeJzGAxyKx5uWU9WxoaXg6BhQ7aWSnZ6EhxFK8Mzw137nSgGAfMM8FgHjM6rpq5s1EofD7UT2yp
[STREAMLABS] http://streamlabs.jewbird.live [PATREON] http://patreon.jewbird.live
[YT] http://yt.jewbird.live [TWITCH] http://twitch.jewbird.live [GITHUB] http://git.jewbird.live
```
ASCIIBIRD is an IRC ascii art editor to create or edit mIRC art, it is most times worked on during live stream. It's 100% client side and created in vue2 and may be migrated to vue3 in the future.
You can view and load ASCII art from https://irc.watch/ascii into asciibird.
A most latest production build to use is available at https://asciibird.jewbird.live/
2021-12-27 01:15:13 +00:00
# Big Shout outs to Patrons
> beenz, xartet, OfMonsters&Crime, mouse, funkpower, Charles, PP4L, octopus, addct, hotline, dingopride, skg, eraser, aaa, chz, L0j1k
# Current Features
* Tabbed ASCII editing
* Layers support
* Show and hide layers
* Change layer order
* Double click to rename layer
* Context menu for layers
* Copy and paste ASCII blocks between tabs with the select tool
* Remembers state on refresh and when the browser loads, can also export the state to a file and load elsewhere.
2021-08-17 01:45:48 +00:00
* So you never lose your ascii art!
* Saves layers, brushes data also to same file
* Can import from clipboard, load from irc.watch/ascii, load from file
* Can export mirc ascii to clipboard, file or HTTP POST
* 99 Colour support
2021-12-27 01:15:13 +00:00
* Swap fg and bg colours with button click or Alt + r
* Mirror X and Y
2021-12-27 01:15:13 +00:00
* Grid mode with Alt + g
* Undo and redo with Ctrl + z and Ctrl + y, undos are set to a limit of 200 at the moment.
* Fg, Bg and Char boxes to filter when using certain tools
2021-08-17 01:45:48 +00:00
* For example filling with Char unchecked will ignore characters when filling
* If you want to remove the background but keep the text, unchek FG and Char and eraser the bg only.
* Image overlay to trace images
* Accepts URLs only at the moment
* Can adjust the size and properties
* Toolbar containing
* Select, to copy and paste blocks as brushes
* Text mode, with arrow key support
2021-08-17 01:45:48 +00:00
* Fill background blocks
2021-12-06 07:01:26 +00:00
* Brush mode, can be controlled with keyboard and mouse
2021-08-17 01:45:48 +00:00
* Block picker (grab fg, bg and char of a block)
2021-12-06 07:01:26 +00:00
* Eraser - remove blocks, can be controlled with keyboard and mouse
2021-09-04 05:16:27 +00:00
* Fill Eraser - Fill remove blocks by bg, fg or char
* Brush Library and History
* Make circle, square, cross and other brushes by sizes
2021-08-17 01:45:48 +00:00
* Brush history, can save or re-use old brushes
* Library - Save most used brushes to library
* Brush history is set to a limit of 50
* Brush Preview
2021-08-17 01:45:48 +00:00
* Editable brush preview
* Clicking updates block
* Right clicking removes block
* Hovering outside brush area will save brush to history
* Context menu available on all brushes preview areas
* Export any brush to PNG, mIRC clipboard or file by right clicking the brush preview
2021-12-26 00:53:28 +00:00
# Roadmap and Bug To Fixes
## Features to Add
2021-12-27 01:15:13 +00:00
* While select works fine, it could be improved.
* Layers undo and redo could be implemented, at the moment there isn't any.
* Warning on mirc export if ascii exceeds IRCs 512 per chat line limit.
* Review encodings check on file import - UTF8 vs Latin something
## Bugs to fix
2021-12-17 08:47:38 +00:00
* The edit dialog, even when code to save new data is commented out, will slow down everything if you open and save the modal a few times
2021-12-26 00:53:28 +00:00
## Mobile / Touch Screen support
Doesn't exist at the moment. While the underlying functions and code is compatible with mobile browsers from *babel*, the touch canvas events and text will need to be reviewed to work better with touch screens. For example while you can brush once, you cannot move the brush around.
2021-12-17 11:54:57 +00:00
# Keyboard Shortcuts
2021-08-12 05:53:12 +00:00
## ASCII Editing
* Ctrl + Z - Undo
* Ctrl + Y - Redo
2021-12-26 00:53:28 +00:00
2021-12-27 01:15:13 +00:00
* Escape - Return to default mode, stop using any tool and close fg, bg and char panels.
* Alt 1 to 8 - Will toggle the corresponding toolbar icon
* Alt + c - Opens character Panel (You can then press on the keyboard your desired character or select from the list)
* Alt + f - Opens foreground panel (can then press 0 to 9 for the colour)
* Alt + b - Opens background panel (can then press 0 to 9 for the colour)
* Alt + g - Toggle grid mode
2021-12-27 01:15:13 +00:00
* Ctrl + ] - Increase both brush sizes by 1 (brush or eraser mode only)
* Ctrl + [ - Decrease both brush sizes by 1 (brush or eraser mode only)
* Alt + x - Toggle Mirror X
* Alt + y - Toggle Mirror Y
* Alt + u - Toggle Update Brush (change brush preview if fg, bg or char changes)
* Alt + r - Flip FG and BG colours
* Ctrl + e - Edit ASCII
* Ctrl + q - Close ASCII
* Ctrl + m - New ASCII (can't use ctrl + n)
* Ctrl + o - Toggle Asciibird Options
### Importing
* Ctrl + Shift + o - Open mIRC TXT File as new Ascii
* Ctrl + Shift + v - Paste New Ascii
### Exporting
2021-12-27 01:15:13 +00:00
* Ctrl + Shift + C - Copy to clipboard
* Ctrl + Shift + F - Save to TXT file
* Ctrl + Shift + G - Save to PNG file
* Ctrl + Shift + H - Save to HTTP Post
2021-12-27 01:15:13 +00:00
## Showing / Hiding menus, tabs and panels
2021-12-27 01:15:13 +00:00
* Ctrl + Alt + t - Hide / Show Tabs
* Ctrl + Alt + m - Hide / Show Menu
* Ctrl + Alt + d - Hide / Show Debug Panel
* Ctrl + Alt + b - Hide / Show Brush Library
* Ctrl + Alt + l - Hide / Show Layers
* Ctrl + Alt + n - Hide / Show Toolbar
* Ctrl + Alt + e - Hide / Show Brush Preview
## Select Mode
2020-12-19 00:14:06 +00:00
* Ctrl + c - Copy blocks to clipboard
* Ctrl + x - Cut blocks to clipboard
2021-08-14 06:41:42 +00:00
* Ctrl + v - Paste blocks as brush
* Delete - Delete selected blocks
2021-04-24 00:42:33 +00:00
2021-12-27 01:15:13 +00:00
## Eraser Mode
2021-12-06 07:01:26 +00:00
* Four arrow keys control text cursor
* Space - apply eraser
2021-12-06 07:01:26 +00:00
2021-12-27 01:15:13 +00:00
## Brush Mode
2020-12-19 00:14:06 +00:00
2021-12-06 07:01:26 +00:00
* Four arrow keys control text cursor
* Space - apply brush
* e - rotate brush
* q - flip brush
2020-12-19 00:14:06 +00:00
2021-12-27 01:15:13 +00:00
## Text mode
2021-04-03 03:13:03 +00:00
* Four arrow keys control text cursor
* Delete - Remove text from highlighted block
* Backspace - Remove current character and move to previous block
* Enter - Go to next line and reset X position to 0
2021-04-03 03:13:03 +00:00
### Layers Related
2021-12-27 01:15:13 +00:00
* Ctrl + Shift + t - Show / Hide Layer
* Ctrl + Shift + r - Rename Layer
* Ctrl + Shift + a - Add Layer
* Ctrl + Shift + d - Delete Layer
* Ctrl + Shift + s - Move Layer Down
* Ctrl + Shift + w - Move Layer Up
* Ctrl + Shift + m - Merge All Layers
2020-12-19 00:14:06 +00:00
# References
* http://anti.teamidiot.de/static/nei/*/extended_mirc_color_proposal.html - Good for 99 colours info
2020-12-19 00:14:06 +00:00
* https://jp.itch.io/playscii / http://vectorpoem.com/playscii/
* https://mircart.org/
* https://asdf.us/asciiblaster/
2021-01-02 01:52:44 +00:00
* https://acid.vegas/asciimaker
* https://stackoverflow.com/questions/60263401/draw-on-canvas-with-vue
* https://www.digitalocean.com/community/tutorials/vuejs-vue-html5-canvas
2021-01-09 01:57:48 +00:00
* https://codereview.stackexchange.com/questions/114702/drawing-a-grid-on-canvas
* https://github.com/ircart/resources
* https://gist.github.com/xon52/fb895e33d64a8d322da165d158fa11b2 / https://xon5.medium.com/flexible-canvas-grid-without-blurred-lines-907fcadf5bfc - Grid canvas draw stuff
2021-01-16 03:03:14 +00:00
* http://wepump.in/ascii/
* https://irc.watch/ascii/
2021-01-23 02:50:32 +00:00
* https://modern.ircdocs.horse/formatting.html#color
* https://www.mirc.com/colors.html
2021-04-24 00:20:11 +00:00
* https://github.com/polygonplanet/encoding.js/
2021-08-19 01:42:33 +00:00
2020-12-19 00:14:06 +00:00
## Project setup
```
yarn
```
### Compiles and hot-reloads for development
```
yarn serve
```
### Compiles and minifies for production
```
yarn build
```
### Lints and fixes files
```
yarn lint
```
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).