Experiment in creating a pixelated user interface for games with react by rendering HTML to a svg, drawing on a canvas, then upscaling. The originalal DOM is scaled up with CSS and overlayed on the canvas invisible so you can still click on things, highlight text, etc.
leafo / pixel-react Goto Github PK
View Code? Open in Web Editor NEWcreating pixelated game interface with html in react