-
Notifications
You must be signed in to change notification settings - Fork 26
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
094c129
commit 10b085f
Showing
7 changed files
with
326 additions
and
12 deletions.
There are no files selected for viewing
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 @@ | ||
function preload() { | ||
createMRCanvas(); | ||
} | ||
|
||
function setup() { | ||
} | ||
|
||
function draw() { | ||
push(); | ||
translate(0, 0, -0.3); | ||
box(0.1, 0.1, 0.1); | ||
pop(); | ||
} |
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,17 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta charset='utf-8'> | ||
<meta name='viewport' content='width=device-width, initial-scale=1, user-scalable=no'> | ||
<meta name='mobile-web-app-capable' content='yes'> | ||
<meta name='apple-mobile-web-app-capable' content='yes'> | ||
|
||
<title>MR EXAMPLE #1 : HELLO BOX </title> | ||
<script src='../../../node_modules/p5/lib/p5.js'></script> | ||
<script src='../../../dist/p5xr.min.js'></script> | ||
</head> | ||
<body> | ||
<header></header> | ||
<script src="hello-box.js"></script> | ||
</body> | ||
</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
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
Oops, something went wrong.