Code Monkey home page Code Monkey logo

huffman-encoding-visualizer's People

Contributors

evan-green avatar wescossick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

huffman-encoding-visualizer's Issues

Wrong meta length validation

I think it is wrong because you get 4 bytes size for meta length in byte_array but limited in input.js only to 25000 as below

if(meta_length > 25000) return false;

Additional functionality

Here are some ways @Evan-Green and I can improve the visualizer

  • Make the UI better looking
    • Change template?
    • Change colors?
    • Improve the appearance of the boxes and inputs
  • Drag a file onto the text box to read in a text file
  • Make the dragging capabilities more clear
  • About page
  • Documentation on the GitHub page
  • Buy the huffman.io domain
  • Set up domain
  • Compression meter
  • Full screen graph for easier viewing of larger graphs
  • Error if file input is wrong format
  • Handle one single character
  • Favicon

Math.ceil

Hi,
May I know why you didn use Math.ceil
var byte_array = new Uint8Array((full_byte_string.length / 8) + ((full_byte_string.length % 8 != 0) ? 1 : 0));

Thanks

Finalize project for presentation

  • Plan presentation
  • Release 1.1.0 on GitHub
  • Localize all JS libraries
  • Update photo of Evan
  • Test on lab computers
  • Get flash drive
  • Put stuff on flash drive
  • Post to GitHub pages
  • Cover art

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.