xypine / Junction2023

Home Page:https://veikkas.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VeikkAS

A proof of concept for the Veikkaus "Next Level of Interactive Gaming Experiences" WebGPU/WebWorker challenge for Junction 2023. Built with Typescript, Sveltekit and Rust and using BabylonJS for WebGPU rendering.

Features include but are not limited to:

  • Transforming DOM text into physics objects with a WebWorker
  • Physics simulation with Matter.js
  • Rendering with WebGPU
  • Thrilling and innovative gameplay with a scratch off game that's handled in the backend (awesome graphics included !!)

Future plans:

  • Move all rendering to the GPU
  • Utilize WebGPU compute shaders for physics simulation
  • Cooler effects like attractors and boids that can react to whatever is happening in the DOM
  • Ditch external renderer (BabylonJS) and write a custom one
  • Font deformation utilizing the physics engine
  • More indepth gameplay
  • More awesome graphics (update: no need for this, the current graphics can't be beat 😎)

Building and running

# Install dependencies
pnpm install

# Build & start the devserver
pnpm run dev

The libraries used can be found in package.json and textToSurface/Cargo.toml.

About

https://veikkas.vercel.app/


Languages

Language:Svelte 69.1%Language:TypeScript 14.5%Language:JavaScript 11.2%Language:Rust 2.6%Language:HTML 1.3%Language:CSS 0.9%Language:Shell 0.4%