Giter VIP home page Giter VIP logo

astrocade's Introduction

Hi there ๐Ÿ‘‹

astrocade's People

Contributors

hxlnt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

astrocade's Issues

Import BMP to Astropaint canvas

Import BMP to Astropaint canvas. Will need to decide:

  • Which BMP formats to support (e.g., 4-bit, 16-bit, RLE compressed, row-flipped)
  • Whether to try to use imported BMP's color data
  • Whether to reject or try to convert BMPs that are too large or have too many colors
  • Whether to try to automatically set color boundary

Make color boundary movement more responsive

Moving the color boundary is slow (around 2 seconds) because each movement requires changing the style of 400-800 divs, and 202 of these are redrawing the boundary itself (a CSS border added to 102 divs and removed from 102 divs).

There are a lot of ways to improve the sluggishness; one easy fix could be making the boundary its own div that floats on top of or underneath the Astropaint screen.

Some day, it might make sense to move to HTML5 canvas, but having each pixel be a div has benefits as well (namely, easily recoloring by div class), and it'll be a lot of work to refactor just to improve the speed on this one feature. Open to suggestions and PRs!

Add touch support for drawing on Astropaint screen

I've ruled out mobile phone support because Astrocade dev is essentially impossible to do from a mobile device. However, it would be nice to add touch support to draw on Astropaint screen from touchscreen desktops.

Export screenshot

Add a button to let users save a screenshot from Astropaint canvas. Need to decide how much to scale up pixels.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.