Shatter! The new overlay glasses termi...
hugeblank 28 Jul 2018
Shatter your dull Overlay Glasses experience by turning it into a redirectable terminal target!
Introducing Shatter!
Shatter converts the sometimes odd to use Plethora Peripheral's overlay glasses into a familiar and cozy terminal environment!
It's as simple as downloading, configuring, and redirecting!
Download: https://github.com/hugeblank/Shatter
Configure: https://github.com/h...aster/README.md
Redirect: http://www.computerc...i/Term.redirect
Okay, so maybe you didn't read the Readme and don't know what's in this bundle of joy I'm calling Shatter. Here's what you're getting into/what you should know:
Wireless Keyboard to Neural Interface Magic
In case you weren't aware like I was when I made server/client software to transmit keystrokes from a computer to a neural interface using a regular computer and SMT, you can use an unbound keyboard to input keystrokes into your neural interface. Is it amazing? Yes. Should I have checked the documentation? Also yes. Is it ironic that I mention the documentation of this project twice in this forum post yet fail to read plethora's? Again, Yes.
A Freaking Mouse
This used to be here:
Fortunately for me even if I did read the documentation I wouldn't have known that the wireless keyboard actually does emit events like a mouse. For once something isn't my fault!
The Terminal Itself (I mean, duh.)
By using a couple of API calls you get the single greatest terminal window available, what could be greater!? I mean seriously what are you still doing here check it out already!
<images to come, thanks for your patience>
<Oh and if you would like to submit your own images they'd be much appreciated, I would love to see what can be done with this (DM @hugeblank#4114 on discord with what you can snap)>
Edited by hugeblank, 02 August 2018 - 12:14 AM.
SquidDev 28 Jul 2018
hugeblank, on 28 July 2018 - 07:22 PM, said:
hugeblank, on 28 July 2018 - 07:22 PM, said:
In all seriousness though, this does look a jolly cool project! Nice to see people using the glasses for these sorts of things .
* Help in documenting things is always appreciated! Not that people read it apparently .
Edited by SquidDev, 28 July 2018 - 08:46 PM.
hugeblank 29 Jul 2018
SquidDev, on 28 July 2018 - 08:44 PM, said:
hugeblank, on 28 July 2018 - 07:22 PM, said:
SquidDev, on 28 July 2018 - 08:44 PM, said:
hugeblank, on 28 July 2018 - 07:22 PM, said:
SquidDev, on 28 July 2018 - 08:44 PM, said:
And thank you! I love the concept of the overlay glasses, could lead to some really powerful developments in-game as could most of the peripherals in plethora
Edited by hugeblank, 29 July 2018 - 06:58 PM.
osmarks 30 Jul 2018
hugeblank 31 Jul 2018
osmarks, on 30 July 2018 - 08:30 AM, said:
Yeah XP found that it wasn't needed. But anyways, it's worth keeping mentioned in here because it was a large part of the development process of shatter. And for the record it was one of the most easy and workable modem exchange API I have ever used. I plan on using it for a potential project in the future.
hugeblank 31 Jul 2018
What's New
- drastically changed handle function:- removed cursor re-positioning thread
- removed unnecessary mouse related threads
- added "glasses_" to "mouse_" event conversion thread
- removed keyboard server/client program as they were unnecessary
- removed checks for Entity Sensors and Introspection Modules
- renamed all "glass_" events to "shatter_"
- added setTextScale. Input any value between 0.5 and 10 and the scale will be resized accordingly
- reworked rendering to account for changes in text scale
- added the "shatter_resize" event, triggered when the shatter terminal gets resized
Enjoy!
hugeblank 02 Aug 2018
Update Time!
- Cleaned up bad code, squashed minor bugs, lubricated gears, etc.- Fixed an issue that allowed for one single color to be rendered as multiple through the use of setPaletteColor. In exchange for this issue, set/get|Text/Background|Hex has been added so all 16.8 million colors of the overlay glasses may be utilized.
- By request of one of the users of shatter, the way alpha values function have been fundamentally changed. set/get|Alpha have been removed, in replacement of set/get|Text/Background|Alpha. 'What is the difference?' I hear you ask: the old alpha code was structured per color, meaning that one of the 16 colors was bound to a specific alpha value, meaning that if you wanted to use black text over a black background that was partially transparent, it wouldn't look all that great. Now not only are alpha values not bound to a color, they aren't bound to both text and background, increasing functionality in your favor!
Huzzah! Shatter is becoming better and better by the day! If you haven't tried it out, what are you doing!