changes and whatnot

This commit is contained in:
2026-07-27 01:44:01 +02:00
parent 7172894ebb
commit d8187860d8
9 changed files with 58 additions and 42 deletions

View File

@@ -1,43 +1,10 @@
import { Renderer, UiState } from './engine/renderer'
import { Input } from './ui/input'
import { DomOverlay } from './ui/overlay'
import { SCENES } from './data/scenes'
const DPR_CAP = 2
interface SceneContent {
title: string
subtitle: string
body: string
}
const SCENES: SceneContent[] = [
{
title: 'Ahmed A. Mohamed',
subtitle: 'Creative Developer & Graphics Engineer',
body: 'Welcome to my personal website, there\'s a lot going on in my life that I will be sharing here randomly over time so take a look.'
},
{
title: 'ABOUT',
subtitle: 'Who I am',
body: 'I build creative web experiences\nusing cutting-edge graphics technology.'
},
{
title: 'PROJECTS',
subtitle: 'Things I have built',
body: 'A collection of work exploring\nWebGPU, shaders, and generative art.'
},
{
title: 'CONTACT',
subtitle: 'Get in touch',
body: 'Reach me at hello@example.com\nor find me on GitHub.'
},
{
title: 'RESUME',
subtitle: 'Ahmed Mohamed',
body: 'Graphics & Systems Engineer'
}
]
export class App {
private canvas: HTMLCanvasElement
private renderer = new Renderer()