Computer Science Labs Demos

Hi! This is my first time posting. I’m a TA in charge of making practical assignments for university first-year students, and I always try to make their last assignment (about OOP) with BabylonJS. Their task is to generate the file out.json that populates the simulation (an example is included in the repos)

I hope you like it, and if you have any suggestions let me know :slight_smile:

website #1: TP3 Simulator
repo #1: GitHub - CursedApps/marching-cubes: Implementation of marching cubes algorithm
The environment is generated with the marching cubes algorithm as a personal challenge, and it changes a bit with depth. (In the repo, there is also a script that generates the mesh indices procedurally :slight_smile: )

You need to click in the simulation to move, and you can move around with WASD (or the keyboard arrows), shift and spacebar

website #2: TP6 Simulator
repo #2: GitHub - CursedApps/car_simulation: A BabylonJS Simulator for a CS lab
Each part of each vehicule is independent (frame and wheels) and can be reassembled at will by the students (ex: a car frame with 8 truck wheels)

(Disclaimer: I got all the assets from various free sources, a credits.md file is included in each repo)

12 Likes

Oh sorry! To run it, you have to run git submodule update --init --recursive after cloning since the noise function is from another repository. I’ll add a README on how to run it :slight_smile:

3 Likes

Thanks for sharing @rooose ! It is great to see that you are making OOP fun for first year students.

3 Likes

@rooose - Welcome to the Babylon Family! Great to have you join us! Awesome work indeed helping students learn with Babylon! Love that!

1 Like