Skip to content

An experimental simulation, made so that I can play around with various technologies.

Notifications You must be signed in to change notification settings

uthbees/simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setting up

Everything is standard git/Rust, except that the git hooks are stored in the .githooks directory. Run git config --local core.hooksPath .githooks when setting up a new environment.

To build the web version, install wasm-pack and run wasm-pack build --target web --debug. The updated page will then be accessible from index.html, although you will need to use a web server to access it so that it can load the wasm file from pkg.

Info

An experimental simulation, made so that I can play around with various technologies (for example, OpenGL).

As of this writing, the project is fairly bare-bones, but I might add more features to it later.

Features:

  • Procedural 2D terrain generation
  • Simple map rendering with a low-level graphics API provided by wgpu
  • Available on both desktop and WASM (mostly thanks to winit and wgpu doing all the platform interfacing stuff for me)

This project was inspired by the final project assignment for CSE 210 Programming With Classes, which was to make a program that could "perform an interesting task or function." The idea I came up with was so interesting to me that I took the project way beyond the expected scope and continued working on it after the class was over. This included rewriting it in Rust (the original language was C#) so that I could compile it to WASM (and because I wanted to learn Rust).

About

An experimental simulation, made so that I can play around with various technologies.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published