diff --git a/index.html b/index.html
index 84ba6b4..12fe2de 100644
--- a/index.html
+++ b/index.html
@@ -2,18 +2,22 @@
- Fluid Simulation
+
+
+
-
+
-
+
+ WebGL Fluid Simulation
+
-
+
diff --git a/script.js b/script.js
index a844070..6bb2867 100644
--- a/script.js
+++ b/script.js
@@ -162,7 +162,7 @@ function startGUI () {
let captureFolder = gui.addFolder('Capture');
captureFolder.addColor(config, 'BACK_COLOR').name('background color');
captureFolder.add(config, 'TRANSPARENT').name('transparent');
- captureFolder.add({ fun: CaptureScreenshot }, 'fun').name('take screenshot');
+ captureFolder.add({ fun: captureScreenshot }, 'fun').name('take screenshot');
let github = gui.add({ fun : () => {
window.open('https://github.com/PavelDoGreat/WebGL-Fluid-Simulation');
@@ -198,7 +198,7 @@ function startGUI () {
gui.close();
}
-function CaptureScreenshot () {
+function captureScreenshot () {
colorProgram.bind();
gl.uniform4f(colorProgram.uniforms.color, 0, 0, 0, 1);
blit(density.write.fbo);