This file contains 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
#include <X11/extensions/dpms.h> | |
main () { | |
DPMSForceLevel ( 0, 0 ); | |
} |
This file contains 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
// a hack by neil isaac | |
function stringTexture(text, color) { | |
var canvas = document.createElement("canvas"); | |
canvas.width = 256; | |
canvas.height = 256; | |
var ctx = canvas.getContext("2d"); | |
ctx.fillStyle = color; | |
ctx.fillRect(0, 0, 256, 256); | |
ctx.font = "48px Arial"; |
NewerOlder