Skip to content

Commit

Permalink
reimport three
Browse files Browse the repository at this point in the history
  • Loading branch information
gjnguyen18 committed May 29, 2024
1 parent 4a0c9e3 commit 07c06e6
Show file tree
Hide file tree
Showing 7 changed files with 3,641 additions and 3,643 deletions.
3,632 changes: 0 additions & 3,632 deletions dist/assets/index-BJHyaHQ7.js

This file was deleted.

3,629 changes: 3,629 additions & 0 deletions dist/assets/index-DXAmR2xR.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<style>
body { margin: 0; }
</style>
<script type="module" crossorigin src="./assets/index-BJHyaHQ7.js"></script>
<script type="module" crossorigin src="./assets/index-DXAmR2xR.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-DRtYWPIR.css">
</head>
<body>
Expand Down
6 changes: 3 additions & 3 deletions js/UIInit.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Button, Checkbox, Slider, TextBox, Element, Container, Select, CustomSelect } from "./pageElements"
import { getData } from './endpoint.js';
import * as T from 'three';
import { TextGeometry } from 'three/addons/geometries/TextGeometry.js';
import { FontLoader } from 'three/addons/loaders/FontLoader.js';
// import * as T from 'three';
// import { TextGeometry } from 'three/addons/geometries/TextGeometry.js';
// import { FontLoader } from 'three/addons/loaders/FontLoader.js';


const YEARS = [2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023]
Expand Down
4 changes: 2 additions & 2 deletions js/dashboard.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import * as T from 'three';
// import * as T from 'three';
import { getColorFromRamp } from './helpers.js';
import { sceneInit } from './sceneInit.js';
import { TransactionsGrid } from './transactionBlock.js';
import { SceneControl } from './control.js';
import { initUI } from './UIInit.js';
import { getData } from './endpoint.js';
import { Button } from './pageElements.js';
// import { Button } from './pageElements.js';
import { test } from './test.js';

export function startScene() {
Expand Down
1 change: 1 addition & 0 deletions js/sceneInit.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import * as T from 'three';
// import * as T from "../node_modules/three/build/three.module.js"

const BACKGROUND_COLOR = 0x041a29
const CAMERA_OFFSET = 0;
Expand Down
10 changes: 5 additions & 5 deletions js/test.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

import { Network, ethers } from 'ethers';
import { Web3BaseProvider } from 'web3';
import { graphql, buildSchema } from 'graphql';
import { fetchDataFromAPI } from './endpoint';
import axios from 'axios';
// import { Network, ethers } from 'ethers';
// import { Web3BaseProvider } from 'web3';
// import { graphql, buildSchema } from 'graphql';
// import { fetchDataFromAPI } from './endpoint';
// import axios from 'axios';

export async function test() {

Expand Down

0 comments on commit 07c06e6

Please sign in to comment.