This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function drawCube(ctx) { | |
const size = 100; | |
const center = size / 2; | |
const angle = Date.now() / 1000; | |
// Clear canvas | |
ctx.clearRect(0, 0, ctx.canvas.width, ctx.canvas.height); | |
// Draw cube | |
ctx.save(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Updating..." | |
sudo apt update | |
echo "Installing packages..." | |
sudo apt install xterm fluxbox novnc tigervnc-standalone-server | |
echo "Starting NoVNC" |