go-fluid-simulation

command module
v0.0.0-...-b2a387f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2022 License: MIT Imports: 19 Imported by: 0

README

Building

Install needed deps

go get -u github.com/go-gl/mathgl/mgl32
go get -u github.com/go-gl/gl/v4.1-core/gl
go get -u github.com/go-gl/glfw/v3.3/glfw
sudo apt-get install evtest

Find your touchpad by doing

sudo evtest

Change the number 8 in the file main.go to whatever number your touchpad input is

go readTouchPad()

Then run

go build main.go && sudo ./main

It has to be run with sudo unfortunately due to using evtest to read touchpad absolute positions.

Desktop version of this great website

https://paveldogreat.github.io/WebGL-Fluid-Simulation/

https://github.com/PavelDoGreat/WebGL-Fluid-Simulation

Made by https://twitter.com/PavelDoGreat

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL