general optimizations: date; preload textures
This commit is contained in:
@@ -18,7 +18,7 @@ export const ARTICLES: Article[] = [
|
||||
name: "My high school experience",
|
||||
description: "My first program, winning two senior superlatives, and why (and how) I chose Georgia Tech",
|
||||
thumbnail: allBlack,
|
||||
published: new Date(Date.parse("3/15/2026")),
|
||||
published: new Date("3/15/2026"),
|
||||
article: lazy(() => import("./mdx/high-school.mdx"))
|
||||
}
|
||||
]
|
||||
@@ -14,6 +14,8 @@ import {useRef} from "react";
|
||||
import type {Mesh} from "three";
|
||||
import * as THREE from "three";
|
||||
|
||||
useTexture.preload([Jupiter, Makemake, Ceres, Haumea, MilkyWay, SaturnRings]);
|
||||
|
||||
export default function Canvas() {
|
||||
|
||||
// fade animation sync with loading
|
||||
|
||||
Reference in New Issue
Block a user