very professinal seo

This commit is contained in:
Pavel Dobryakov
2019-03-15 20:03:50 +03:00
parent e41ed80ea0
commit ffc6914006
2 changed files with 10 additions and 6 deletions

View File

@@ -2,18 +2,22 @@
<html>
<head>
<meta charset="utf-8">
<title>Fluid Simulation</title>
<meta http-equiv="Cache-Control" content="no-cache">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="mobile-web-app-capable" content="yes">
<link rel="apple-touch-icon" href="logo.png">
<link rel="icon" href="logo.png">
<meta http-equiv="CACHE-CONTROL" content="NO-CACHE">
<title>WebGL Fluid Simulation</title>
<meta name="description" content="A WebGL fluid simulation that works in mobile browsers.">
<meta property="og:type" content="website">
<meta property="og:title" content="Webgl Fluid Simulation">
<meta property="og:description" content="Play with fluids in your browser (works on mobile devices)">
<meta property="og:description" content="A WebGL fluid simulation that works in mobile browsers.">
<meta property="og:url" content="https://paveldogreat.github.io/WebGL-Fluid-Simulation/">
<meta property="og:image" content="https://paveldogreat.github.io/WebGL-Fluid-Simulation/logo.png">

View File

@@ -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);