Skip to content

Commit

Permalink
Deploying to gh-pages from @ 9e78dbd 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
arcadeperfect committed Dec 6, 2024
1 parent 08ca392 commit 77b5c79
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 59 deletions.
22 changes: 16 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,33 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bevy Compute Shader</title>
<title>Compute Shader</title>
<link rel="stylesheet" href="styles.css">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Roboto+Mono&display=swap" rel="stylesheet">
</head>

<body class="color-scheme-home">
<div class="grid">
<div class="main-column">
<p>Experiment with compute shader</p>

<span class="nav-links">
<a href="https://alexharding.ooo" class="nice-links">alexharding.ooo</a>
&nbsp;&nbsp;&nbsp;
<a href="https://bsky.app/profile/alexharding.bsky.social" class="nice-links">bluesky</a>
</span>
<h1 class="main-heading">Bevy Compute Shader Thing</h1>
<div id="wasm-container" tabindex="-1"></div>
<br>
<p>Yeah wasm bindgen always makes it scroll to the bottom. I'm not ready to look into this. Scroll up ↑ 𓆩♡𓆪</p>
<h2><a href="https://github.com/arcadeperfect/bevy_compute_shader">Github</a></h2>
<br>
<!-- <p>Side project to learn the basics of wgsl and develop a look for my <a href="https://alexharding.ooo/posts/Rustroneer/">main Bevy project</a>.</p> -->

<p>Side project to learn some compute shader stuff</a>.</p>
<p>Wasm bindgen always makes it scroll to the bottom. I'm not ready to look into this. Scroll up ↑ 𓆩♡𓆪</p>
<span class="nav-links">
<a href="https://alexharding.ooo" class="nice-links">alexharding.ooo</a>
&nbsp;&nbsp;&nbsp;
<a href="https://bsky.app/profile/alexharding.bsky.social" class="nice-links">bluesky</a>
</span>
<br>
<br>
</div>

</div>
Expand Down
10 changes: 5 additions & 5 deletions out/bevy_compute_shader.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ export interface InitOutput {
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
readonly __wbindgen_export_6: WebAssembly.Table;
readonly closure1518_externref_shim: (a: number, b: number, c: any) => void;
readonly closure1560_externref_shim: (a: number, b: number, c: any) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbaef006a82d96477: (a: number, b: number, c: number) => void;
readonly closure4290_externref_shim: (a: number, b: number, c: any) => void;
readonly closure4332_externref_shim: (a: number, b: number, c: any) => void;
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h41a9f684830410d2: (a: number, b: number) => void;
readonly closure4297_externref_shim: (a: number, b: number, c: any, d: any) => void;
readonly closure4339_externref_shim: (a: number, b: number, c: any, d: any) => void;
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3259ebe63bec4605: (a: number, b: number) => void;
readonly closure92584_externref_shim: (a: number, b: number, c: any) => void;
readonly closure100496_externref_shim: (a: number, b: number, c: any) => void;
readonly closure92626_externref_shim: (a: number, b: number, c: any) => void;
readonly closure100538_externref_shim: (a: number, b: number, c: any) => void;
readonly __wbindgen_start: () => void;
}

Expand Down
86 changes: 43 additions & 43 deletions out/bevy_compute_shader.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,35 +255,35 @@ function debugString(val) {
return className;
}
function __wbg_adapter_36(arg0, arg1, arg2) {
wasm.closure1518_externref_shim(arg0, arg1, arg2);
wasm.closure1560_externref_shim(arg0, arg1, arg2);
}

function __wbg_adapter_45(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbaef006a82d96477(arg0, arg1, isLikeNone(arg2) ? 0 : addToExternrefTable0(arg2));
}

function __wbg_adapter_48(arg0, arg1, arg2) {
wasm.closure4290_externref_shim(arg0, arg1, arg2);
wasm.closure4332_externref_shim(arg0, arg1, arg2);
}

function __wbg_adapter_53(arg0, arg1) {
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h41a9f684830410d2(arg0, arg1);
}

function __wbg_adapter_64(arg0, arg1, arg2, arg3) {
wasm.closure4297_externref_shim(arg0, arg1, arg2, arg3);
wasm.closure4339_externref_shim(arg0, arg1, arg2, arg3);
}

function __wbg_adapter_71(arg0, arg1) {
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3259ebe63bec4605(arg0, arg1);
}

function __wbg_adapter_74(arg0, arg1, arg2) {
wasm.closure92584_externref_shim(arg0, arg1, arg2);
wasm.closure92626_externref_shim(arg0, arg1, arg2);
}

function __wbg_adapter_79(arg0, arg1, arg2) {
wasm.closure100496_externref_shim(arg0, arg1, arg2);
wasm.closure100538_externref_shim(arg0, arg1, arg2);
}

const __wbindgen_enum_GamepadMappingType = ["", "standard"];
Expand Down Expand Up @@ -2786,80 +2786,80 @@ function __wbg_get_imports() {
const ret = false;
return ret;
};
imports.wbg.__wbindgen_closure_wrapper117789 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 92585, __wbg_adapter_74);
imports.wbg.__wbindgen_closure_wrapper117851 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 92627, __wbg_adapter_74);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper117791 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 92585, __wbg_adapter_74);
imports.wbg.__wbindgen_closure_wrapper117853 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 92627, __wbg_adapter_74);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper131880 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 100497, __wbg_adapter_79);
imports.wbg.__wbindgen_closure_wrapper131942 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 100539, __wbg_adapter_79);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper2945 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1519, __wbg_adapter_36);
imports.wbg.__wbindgen_closure_wrapper3003 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1561, __wbg_adapter_36);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper2947 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1519, __wbg_adapter_36);
imports.wbg.__wbindgen_closure_wrapper3005 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1561, __wbg_adapter_36);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper2949 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1519, __wbg_adapter_36);
imports.wbg.__wbindgen_closure_wrapper3007 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1561, __wbg_adapter_36);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper2951 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1519, __wbg_adapter_36);
imports.wbg.__wbindgen_closure_wrapper3009 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1561, __wbg_adapter_36);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper72302 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 54824, __wbg_adapter_71);
imports.wbg.__wbindgen_closure_wrapper72364 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 54866, __wbg_adapter_71);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper7289 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4291, __wbg_adapter_45);
imports.wbg.__wbindgen_closure_wrapper7351 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4333, __wbg_adapter_45);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper7290 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4291, __wbg_adapter_48);
imports.wbg.__wbindgen_closure_wrapper7352 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4333, __wbg_adapter_48);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper7291 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4291, __wbg_adapter_48);
imports.wbg.__wbindgen_closure_wrapper7353 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4333, __wbg_adapter_48);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper7292 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4291, __wbg_adapter_53);
imports.wbg.__wbindgen_closure_wrapper7354 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4333, __wbg_adapter_53);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper7293 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4291, __wbg_adapter_48);
imports.wbg.__wbindgen_closure_wrapper7355 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4333, __wbg_adapter_48);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper7294 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4291, __wbg_adapter_48);
imports.wbg.__wbindgen_closure_wrapper7356 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4333, __wbg_adapter_48);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper7295 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4291, __wbg_adapter_48);
imports.wbg.__wbindgen_closure_wrapper7357 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4333, __wbg_adapter_48);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper7296 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4291, __wbg_adapter_48);
imports.wbg.__wbindgen_closure_wrapper7358 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4333, __wbg_adapter_48);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper7297 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4291, __wbg_adapter_64);
imports.wbg.__wbindgen_closure_wrapper7359 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4333, __wbg_adapter_64);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper7298 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4291, __wbg_adapter_48);
imports.wbg.__wbindgen_closure_wrapper7360 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4333, __wbg_adapter_48);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper7299 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4291, __wbg_adapter_48);
imports.wbg.__wbindgen_closure_wrapper7361 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4333, __wbg_adapter_48);
return ret;
};
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
Expand Down
Binary file modified out/bevy_compute_shader_bg.wasm
Binary file not shown.
10 changes: 5 additions & 5 deletions out/bevy_compute_shader_bg.wasm.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ export const __wbindgen_malloc: (a: number, b: number) => number;
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
export const __wbindgen_free: (a: number, b: number, c: number) => void;
export const __wbindgen_export_6: WebAssembly.Table;
export const closure1518_externref_shim: (a: number, b: number, c: any) => void;
export const closure1560_externref_shim: (a: number, b: number, c: any) => void;
export const _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbaef006a82d96477: (a: number, b: number, c: number) => void;
export const closure4290_externref_shim: (a: number, b: number, c: any) => void;
export const closure4332_externref_shim: (a: number, b: number, c: any) => void;
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h41a9f684830410d2: (a: number, b: number) => void;
export const closure4297_externref_shim: (a: number, b: number, c: any, d: any) => void;
export const closure4339_externref_shim: (a: number, b: number, c: any, d: any) => void;
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3259ebe63bec4605: (a: number, b: number) => void;
export const closure92584_externref_shim: (a: number, b: number, c: any) => void;
export const closure100496_externref_shim: (a: number, b: number, c: any) => void;
export const closure92626_externref_shim: (a: number, b: number, c: any) => void;
export const closure100538_externref_shim: (a: number, b: number, c: any) => void;
export const __wbindgen_start: () => void;

0 comments on commit 77b5c79

Please sign in to comment.