All Projects → medakk → spherro

medakk / spherro

Licence: MIT license
Smooth particle hydrodynamics fluid simulator

Programming Languages

rust
11053 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects
GLSL
2045 projects

Projects that are alternatives of or similar to spherro

wasm-bindgen-webcam-stream
A small example on how to get webcam stream on rust-wasm
Stars: ✭ 11 (-68.57%)
Mutual labels:  wasm
arima
ARIMA, SARIMA, SARIMAX and AutoARIMA models for time series analysis and forecasting in the browser and Node.js
Stars: ✭ 31 (-11.43%)
Mutual labels:  wasm
wasm-toolchain
WebAssembly toolchain
Stars: ✭ 34 (-2.86%)
Mutual labels:  wasm
whistle
🕴 One hella programming language
Stars: ✭ 27 (-22.86%)
Mutual labels:  wasm
Uno.Wasm.Bootstrap
A simple nuget package to run C# code in a WASM-compatible browser
Stars: ✭ 242 (+591.43%)
Mutual labels:  wasm
rocket-yew-starter-pack
Example boilerplate for websites in pure Rust
Stars: ✭ 77 (+120%)
Mutual labels:  wasm
material-yew
Yew wrapper for Material Web Components
Stars: ✭ 116 (+231.43%)
Mutual labels:  wasm
css-inline
Inline CSS into style attributes
Stars: ✭ 96 (+174.29%)
Mutual labels:  wasm
eosio-rust
EOSIO SDK for Rust – APIs for building smart contracts on EOSIO blockchains in Rust
Stars: ✭ 93 (+165.71%)
Mutual labels:  wasm
wasp
WebAssembly module decoder in C++
Stars: ✭ 88 (+151.43%)
Mutual labels:  wasm
pico-ml
A toy programming language which is a subset of OCaml.
Stars: ✭ 36 (+2.86%)
Mutual labels:  wasm
zero-graphics
Application framework based on OpenGL ES 2.0. Runs on desktop machines, Android phones and the web
Stars: ✭ 72 (+105.71%)
Mutual labels:  wasm
Astar
The dApp hub for blockchains of the future
Stars: ✭ 533 (+1422.86%)
Mutual labels:  wasm
Wasmite
Now WebAssembly has proper testing, unit-testing and debugging 🤗
Stars: ✭ 20 (-42.86%)
Mutual labels:  wasm
geopattern-rs
Beautiful generative geometric images from a string, based on @jasonlong's geo_pattern, with a WASM demo
Stars: ✭ 44 (+25.71%)
Mutual labels:  wasm
proxy-wasm-cpp-host
WebAssembly for Proxies (C++ host implementation)
Stars: ✭ 55 (+57.14%)
Mutual labels:  wasm
frontend-image-encode
This is script and implementation of frontend image compression, convert, rotate, resize based on codecs in Google/Squoosh. All codecs are copy from the Squoosh repo without modifying. if you want to pre-process images before uploading them to the server, please use this repo for reference
Stars: ✭ 51 (+45.71%)
Mutual labels:  wasm
landlord
Magic: The Gathering mulligan and card draw simulator
Stars: ✭ 16 (-54.29%)
Mutual labels:  wasm
blazor-adminlte
This project adapts ADMINLTE 3 so the components can be used from dotnet core Blazor / Server / Web Assembly
Stars: ✭ 182 (+420%)
Mutual labels:  wasm
SaltyNES
A NES emulator in WebAssembly
Stars: ✭ 69 (+97.14%)
Mutual labels:  wasm

spherro

Crates.io

A smoothed particle hydrodynamics fluid simulator. Built with rust, and compiled to wasm. Check out the demo here.

gif

Building

Dependencies

All instructions have been tested on Ubuntu 18.04, with the versions:

  • rust 1.35.0
  • wasm-pack 0.8.1
  • npm 6.9.0
  • node v10.16.0

Steps to build

npm install
npm run start

This will start a server(defaults to http://localhost:8080) serving spherro.

Debugging

Running cargo run --bin spherro-bin --release starts a kiss3d-based viewer that can be used to debug the simulator without going through the browser.

Running cargo bench starts a headless dambreak simulation with a fixed time step. This can be used to test performance changes.

References

License

MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].