JSFiddle - React, Tailwind, and code Playground
by jauregui
HTML
<html>
<head>
</head>
<body>
<style>
body {
margin: 0;
}
</style>
<script src="https://cdn.rawgit.com/mrdoob/three.js/master/build/three.min.js"></script>
<script>
var camera, scene, renderer;
var geometry, material, mesh;
init();
//src="//cdn.rawgit.com/mrdoob/three.js/master/build/three.min.js" onload="init"
function init() {
camera = new THREE.PerspectiveCamera(70, window.innerWidth / window.innerHeight, 0.01, 10);
camera.position.z = 1;
scene = new THREE.Scene();
geometry = new THREE.SphereGeometry(.4, 50,50);
material = new THREE.MeshBasicMaterial();
material.map = new...