Difference between revisions of "User:Hef/canvas"
< User:Hef
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
canvas { width: 100%; height: 100% } | canvas { width: 100%; height: 100% } | ||
</style> | </style> | ||
− | <div id="renderDiv" width=300 height=300 | + | <div id="renderDiv" width=300 height=300> |
− | <script src="//threejs.org/build/three.js" /> | + | <script src="//threejs.org/build/three.js" ></script> |
<script> | <script> | ||
var scene = new THREE.Scene(); | var scene = new THREE.Scene(); |
Revision as of 13:29, 10 April 2017