Giter VIP home page Giter VIP logo

jams's People

Contributors

khoin 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

skratchdot

jams's Issues

Optimize audio playback

The application lags a lot (unless you switch to another tab). We should look into AudioWorker when it comes out. If that's a long way to go, we should look into how to optimize the signal processing.

Revise text rendering

The current bitmap font operate by parsing a 32-bit integer, and assign pixels. The current bitmap font is 5 by 6.

The future goal is to support multiple languages. A more preferable method would be generating the entire font set to ImageData, this would be much faster to render texts.

And since we'll only have to generate these ImageData once, it's better to increase the size to 8x8 or larger. There have been complaints about the font being too small to read. 8x8 is also the minimum size for Japanese glyphs, which is one of the languages I plan to target.

References: https://github.com/khoin/JAMS/blob/master/src/Graphics.js#L96-L119

Build system

Look at that app.html with a bunch of <script> tags. It'd be nice there's a build system to consolidate everything into a single file to reduce HTTP requests.

Build system should also make it easier to add new modules. Currently, every time I create a new module, I have to add it to JAMS.js module listing and also include it in app.html

Text-based environment

It's possible to create set ups through JAMS class's methods right now. This can be further advanced.

This is for later.

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.