WASM -> Wasm MacOS -> macOS Nothing important, just something that annoyed me for a while :)
		
			
				
	
	
		
			28 lines
		
	
	
		
			537 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			537 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
<html lang="en">
 | 
						|
  <head>
 | 
						|
    <meta charset="UTF-8" />
 | 
						|
    <style>
 | 
						|
      body {
 | 
						|
        background: linear-gradient(
 | 
						|
          135deg,
 | 
						|
          white 0%,
 | 
						|
          white 49%,
 | 
						|
          black 49%,
 | 
						|
          black 51%,
 | 
						|
          white 51%,
 | 
						|
          white 100%
 | 
						|
        ) repeat;
 | 
						|
        background-size: 20px 20px;
 | 
						|
      }
 | 
						|
      canvas {
 | 
						|
        background-color: white;
 | 
						|
      }
 | 
						|
    </style>
 | 
						|
    <title>Wasm Example</title>
 | 
						|
  </head>
 | 
						|
  <script type="module">
 | 
						|
    import init from './target/wasm_example.js'
 | 
						|
    init()
 | 
						|
  </script>
 | 
						|
</html>
 |