(with the source code you need & link to the zipped folder)
Crystal Indigo!
Crystal Indigo!
Providing all solutions you need anytime
+27 76 626 8187
***Copy and run the code, open with the web browser and see the results***
*** There is a link to the source code at the end of this discussion***
if there is a program that is not running, please contact the number
displayed on our above banner
Note: do not submit as pdf and change the code where necessary
,THIS ASSIGNMENT WAS DONE USING WEBGL AND THREE.JS
Visual Representation
,
, solarsytem.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Solar System Simulation</title>
<style>
body {
margin: 0;
overflow: hidden;
}
canvas {
display: block;
}
</style>
<script type="importmap">
{
"imports": {
"three":
"https://cdn.jsdelivr.net/npm/three@0.162.0/build/three.module.js"
,
"three/addons/":
"https://cdn.jsdelivr.net/npm/three@0.162.0/examples/jsm/"
}
}
</script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.7.7/dat.gui.
min.js"></script>
</head>