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

code

21 Dec js-01

<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

09 Aug pygame

[audio wav="http://www.torontokidscomputer.com/wp-content/uploads/2018/11/shoot.wav"][/audio] [audio mp3="http://www.torontokidscomputer.com/wp-content/uploads/2020/08/bluespace.mp3"][/audio] [audio mp3="http://www.torontokidscomputer.com/wp-content/uploads/2020/08/explosions.mp3"][/audio] ...

Read More

17 Nov python

fourletters volume = int(input()) if volume >= 120: carClass = "Large" elif volume < 120: carClass = "Mid-Size" elif volume < 110: carClass = "Compact" elif volume < 100: carClass = "Subcompact" else carClass = "Minicompact" print(carClass) checktriangle toplevel import easygui choice = easygui.buttonbox("which hero do you like the most?", choices=['archer','pekka','witch']) if choice == 'archer': easygui.msgbox(image = 'archer.gif') if choice...

Read More