/U8D

A Roblox Uint8Array Display

Primary LanguageLuaBoost Software License 1.0BSL-1.0

Uint8Display

A Roblox display system.


Setting it up

Dependencies

NPM Dependencies (Install using npm install in CMD)

Enable or disable rate limit on line 7, set your authentication key on line 6. Use node index.js to run, install PM2 and run pm2 start index.js to keep it online.

Set the variable "Canvas" to the Frame you want the image to display on. Set the variable "SERVER" to the ip or domain you are running the server on. Set the variable "AUTH" to the authentication you set on the server. You can change the variable "pixelSize" if you wish to have the pixels bigger or smaller. (offset = pixel size)

❗ Use the function "Begin" to load a png or jpeg onto the Canvas. You can JSONDecode the export.u8d from Local to load an image without having to setup the server.

Do not load big images, I recommend under 300-400px in width and size. Roblox Luau does not have a built-in memory handler, the server Roblox Studio will crash.

Follow this if you wouldn't setup the server, only supports PNGs.

Dependencies

NPM Dependencies (Install using npm install in CMD)

Rename your png img.png and start using node index.js, export.u8d contains the data to use.

Gallery

https://user-images.githubusercontent.com/49074962/199750916-23b7f32d-479c-42c4-b52d-d7f9ea153e2c.mp4