37

Since I have been working a LOT with terminal graphics lately, I made a really shit bitmap machine in JavaScript so I can draw bitmaps and get the int value instantly! Very proud of self, took 10 minutes between Overwatch games.

Comments
  • 3
    what does the int value represent?
  • 2
    @bigworld12 iirc, I think it’s a way to represent the bitmap by somehow mapping the data to binary

    Like each square is either 0 or 1 and then that gets interpreted as int??? Idk
  • 0
    oh looks nice
  • 1
    Nice, but.. JavaScript ._. seriously man?
  • 2
    @Condor 30% of the code is bit shifting anyways. I just used JS because it's easiest to set up a simple canvas and text output.

    <100 lines, HTML and JS.
  • 2
    @AlgoRythm terminal and JS got me confused.. I thought it'd be Node or something like that. Good morning to me too 😅
Add Comment