yum/demomo
A graphics engine built on wgpu.
git clone https://git.yummers.dev/yum/demomo
8debfd1
master
1<!doctype html> 2< html > 3< head > 4< style > 5body { 6margin : 0 ; 7} 8# meow { 9display : block; 10width : 100 vw ; 11height : 100 vh ; 12} 13</ style > 14</ head > 15< body > 16< canvas id = "meow" ></ canvas > 17< script type = "module" > 18const canvas = document . getElementById ( "meow" ) ; 19canvas . addEventListener ( "dragstart" , event => { 20event . preventDefault () ; 21}) ; 22 23import init from "./pkg/hello_web.js" ; 24await init () ; 25</ script > 26</ body > 27</ html >