Skip to content

Commit

Permalink
release: v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cloydlau committed Nov 27, 2022
1 parent 5a4d9b8 commit c25f07c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ WebGLFluid(document.querySelector('canvas'), {
<script type="importmap">
{
"imports": {
"webgl-fluid": "https://unpkg.com/webgl-fluid@0.2/dist/webgl-fluid.mjs"
"webgl-fluid": "https://unpkg.com/webgl-fluid@0.3/dist/webgl-fluid.mjs"
}
}
</script>
Expand All @@ -75,7 +75,7 @@ WebGLFluid(document.querySelector('canvas'), {
<html lang="en">
<body>
<canvas style="width: 100vw; height: 100vh;" />
<script src="https://unpkg.com/webgl-fluid@0.2"></script>
<script src="https://unpkg.com/webgl-fluid@0.3"></script>
<script>
WebGLFluid(document.querySelector('canvas'), {
// options
Expand All @@ -97,11 +97,11 @@ WebGLFluid(document.querySelector('canvas'), {
DYE_RESOLUTION: 1024,
CAPTURE_RESOLUTION: 512,
DENSITY_DISSIPATION: 1,
VELOCITY_DISSIPATION: 0.2,
VELOCITY_DISSIPATION: 0.3,
PRESSURE: 0.8,
PRESSURE_ITERATIONS: 20,
CURL: 30,
SPLAT_RADIUS: 0.25,
SPLAT_RADIUS: 0.35,
SPLAT_FORCE: 6000,
SHADING: true,
COLORFUL: true,
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "webgl-fluid",
"pascalCasedName": "WebGLFluid",
"version": "0.2.0",
"version": "0.3.0",
"private": false,
"description": "ES Module support for https://github.com/PavelDoGreat/WebGL-Fluid-Simulation.",
"license": "MIT",
Expand All @@ -26,7 +26,7 @@
"build": "vite build",
"serve": "vite preview",
"doc": "vitepress dev --open /README",
"release": "npx case-police --fix && npx lint-staged && vitest run && pnpm build && cl release"
"release": "npx case-police --fix && npx lint-staged && pnpm build && cl release"
},
"devDependencies": {
"@antfu/eslint-config": "latest",
Expand All @@ -47,4 +47,4 @@
"publishConfig": {
"registry": "https://registry.npmjs.org/"
}
}
}
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export default function (el, config) {
window.open('https://github.com/PavelDoGreat/WebGL-Fluid-Simulation')
ga('send', 'event', 'link button', 'github')
}
}, 'fun').name('Github')
}, 'fun').name('GitHub')
github.__li.className = 'cr function bigFont'
github.__li.style.borderLeft = '3px solid #8C8C8C'
let githubIcon = document.createElement('span')
Expand Down

0 comments on commit c25f07c

Please sign in to comment.