TORONTO KIDS COMPUTER CLUB | code
107
archive,category,category-code,category-107,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

code

26 Feb javascript

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <script type="text/javascript" src="./scripts/jsb-global.js"></script> <script type="text/javascript" src="./scripts/solar_quiz.js"></script> <title>Document</title> </head> <body> <div class='quiz-container' id='quiz'> <div class='quiz-body'> <h2 id='question'>Question Text:</h2> ...

Read More

30 Dec js-07-1

<body></body> <script src="/three.js"></script> <script> // The "scene" is where stuff in our game will happen: var scene = new THREE.Scene(); var flat = {flatShading: true}; var light = new THREE.AmbientLight('white', 0.8); scene.add(light); // The "camera" is what sees the stuff: ...

Read More

29 Dec js-06-2

<body></body> <script src="/three.js"></script> <script> // The "scene" is where stuff in our game will happen: var scene = new THREE.Scene(); var flat = {flatShading: true}; var light = new THREE.AmbientLight('white', 0.8); scene.add(light); // The "camera" is what sees the stuff: var aspectRatio = window.innerWidth / window.innerHeight; var camera = new THREE.PerspectiveCamera(75, aspectRatio, 1, 10000); camera.position.z =...

Read More

28 Dec js-05

<body></body> <script src="/three.js"></script> <script> // The "scene" is where stuff in our game will happen: var scene = new THREE.Scene(); var flat = {flatShading: true}; var light = new THREE.AmbientLight('white', 0.8); scene.add(light); // The "camera" is what sees the stuff: ...

Read More

28 Dec js-06

//dino body var body = new THREE.CubeGeometry(100, 100, 100); var cover = new THREE.MeshNormalMaterial(); var dino = new THREE.Mesh(body, cover); marker.add(dino); // dino neck var shape = new THREE.CubeGeometry(60, 50, 50); ...

Read More

27 Dec js-04-1

<body></body> <script src="/three.js"></script> <script src="/controls/FlyControls.js"></script> <script> // The "scene" is where stuff in our game will happen: var scene = new THREE.Scene(); var flat = {flatShading: true}; var light = new THREE.AmbientLight('white', 0.8); scene.add(light); // The "camera" is what sees the stuff: ...

Read More

23 Dec js-03

<body></body> <script src="/three.js"></script> <script> // The "scene" is where stuff in our game will happen: var scene = new THREE.Scene(); var flat = {flatShading: true}; var light = new THREE.AmbientLight('white', 0.8); scene.add(light); // The "camera" is what sees the stuff: ...

Read More

21 Dec js-02

<body></body> <script src="/three.js"></script> <script> // The "scene" is where stuff in our game will happen: var scene = new THREE.Scene(); var flat = {flatShading: true}; var light = new THREE.AmbientLight('white', 0.8); scene.add(light); // The "camera" is what sees the stuff: ...

Read More