From ffc6914006f6bc46a5875d5137ff19774e9c9af3 Mon Sep 17 00:00:00 2001 From: Pavel Dobryakov Date: Fri, 15 Mar 2019 20:03:50 +0300 Subject: [PATCH] very professinal seo --- index.html | 12 ++++++++---- script.js | 4 ++-- 2 files changed, 10 insertions(+), 6 deletions(-) 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);