Skip to content

Spiderweb simulation with realistic web generation and physical modelling

Notifications You must be signed in to change notification settings

christianbookout/spiderweb-sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spiderweb Simulator

This spiderweb simulator was developed as the final project for CSC 473: Fundamentals of Computer Animation at UVic. The project's ideation, development, and testing were all performed by myself.

The results of this simulation are summarized in this paper.

Note that the paper was neither presented nor made to present at SIGGRAPH. The formatting including volume, number, guest editors, copyright, etc. do not pertain to the project, but were a requirement to include for the paper's final submission and thus should be ignored.

Instructions

Go to the Cargo and Rust installer website

Download the installer for your device and run it, or enter the installer script into your command line for macOS and Linux.

Follow through all of the prompts, selecting defaults for everything.

Note you may have to install CMake if you don't have it already.

Once this is all done, clone this repository to your device.

Enter the newly created folder, and run cargo run. This will install all of the dependencies for the project and run it.

To experiment with the project, use the UI menu on the left to change the simulation parameters, and the descriptional UI on the right to observe their effects. To start, I'd recommend pressing the "Reset" button a few times until you get a small web, around 300 strands. Larger webs perform more poorly. You can then press the "Simulation Running" checkbox to start the simulation, and add bugs to see how they collide with the web.

You can change the simulation's parameters, but note that changing the web generation parameters out of balance may cause the simulation to behave unexpectedly.

In the simulation, you can press - and + to zoom in and out, and press the left arrow key and right arrow key to rotate the view.

image

About

Spiderweb simulation with realistic web generation and physical modelling

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published