This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <reference types="cypress" /> | |
// Welcome to Cypress! | |
// | |
// This spec file contains a variety of sample tests | |
// for a todo list app that are designed to demonstrate | |
// the power of writing tests in Cypress. | |
// | |
// To learn more about how Cypress works and | |
// what makes it such an awesome testing tool, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<div class="flex h-screen"> | |
<div class="" style="flex:0.2"> | |
<img class="w-24 h-24" src="https://help.twitter.com/content/dam/help-twitter/brand/logo.png" /> | |
<span class="flex items-center p-4"><img class=" mr-3 w-8 h-8" src="https://cdn-icons.flaticon.com/png/512/2549/premium/2549900.png?token=exp=1643983665~hmac=712b8e718a70d5122baee91e998dd291"/><p class="text-2xl font-bold">Home</p></span> | |
<span class="flex items-center p-4" | |
><img class="w-8 h-8 mr-3" src="https://cdn-icons.flaticon.com/png/128/3423/premium/3423288.png?token=exp=1643983620~hmac=a35e438a21a5b7bf33ac17bb138bc958" /> | |
<p class="text-2xl font-bold">Explore</p></span | |
> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as THREE from "three"; | |
import { OrbitControls } from "three/examples/jsm/controls/OrbitControls.js"; | |
import * as dat from "dat.gui"; | |
// Debug | |
const gui = new dat.GUI(); | |
// Canvas | |
const canvas = document.querySelector("canvas.webgl"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>ThreeJS Starter</title> | |
</head> | |
<body> | |
<canvas class="webgl"></canvas> | |
</body> |
NewerOlder