Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
69c6d00
commit ab946a0
Showing
50 changed files
with
989 additions
and
462 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="UTF-8" /> | ||
<title>Checkerboard - AssemblyScript</title> | ||
<link rel="stylesheet" href="styles.css"> | ||
</head> | ||
|
||
<body> | ||
<h1>Checkerboard built in WebAssembly</h1> | ||
<h2>Canvas image data is shared with WebAssembly</h2> | ||
<h3>Canvas is 200 * 200px</h3> | ||
<canvas width="200" height="200" style="transform-origin: 0 0; transform: scale(2)"></canvas> | ||
</body> | ||
<script type="module" src="./index.js"></script> | ||
|
||
</html> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
body { | ||
min-width: 100vw; | ||
min-height: 100vh; | ||
background-color: #293a4b; | ||
margin: 0; | ||
padding: 10px; | ||
font-family: Ubuntu, Verdana, Geneva, Tahoma, sans-serif; | ||
color: white; | ||
box-sizing: border-box; | ||
overflow-x: hidden; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"extends": "../../../node_modules/assemblyscript/std/assembly.json", | ||
"include": [ | ||
"./**/*.ts" | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<title>Hello World - AssemblyScript</title> | ||
<link rel="stylesheet" href="styles.css"> | ||
</head> | ||
<body> | ||
|
||
</body> | ||
<script type="module" src="./hello-world.js"></script> | ||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
body { | ||
min-width: 100vw; | ||
min-height: 100vh; | ||
background-color: #293a4b; | ||
margin: 0; | ||
padding: 10px; | ||
font-family: Ubuntu, Verdana, Geneva, Tahoma, sans-serif; | ||
color: white; | ||
box-sizing: border-box; | ||
overflow-x: hidden; | ||
font-size: 1.3em; | ||
} |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<title>Importing JS - AssemblyScript</title> | ||
<link rel="stylesheet" href="styles.css"> | ||
</head> | ||
<body> | ||
<h1>Imported console.log into webAssembly</h1> | ||
<h2>Output in console</h2> | ||
</body> | ||
<script type="module" src="./index.js"></script> | ||
</html> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
body { | ||
min-width: 100vw; | ||
min-height: 100vh; | ||
background-color: #293a4b; | ||
margin: 0; | ||
padding: 10px; | ||
font-family: Ubuntu, Verdana, Geneva, Tahoma, sans-serif; | ||
color: white; | ||
box-sizing: border-box; | ||
overflow-x: hidden; | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.