Compare commits
4 Commits
e7a2bbb60d
...
f980f7e380
Author | SHA1 | Date | |
---|---|---|---|
f980f7e380 | |||
13971927e3 | |||
8444c2f8d2 | |||
3684940335 |
|
@ -68,7 +68,7 @@ export function p5 (commands) {
|
|||
const new_state = command_to_state(prev_state, this_command)
|
||||
all_states[turtle_id].push(new_state)
|
||||
}
|
||||
console.log(all_states)
|
||||
|
||||
const [r, g, b, _] = resolve_color(background_color)
|
||||
if ((r + g + b)/3 > 128) set_turtle_color([0, 0, 0, 150])
|
||||
const p5_calls = [...p5_call_root()]
|
||||
|
|
4
pkg/rudus.d.ts
vendored
4
pkg/rudus.d.ts
vendored
|
@ -14,8 +14,8 @@ export interface InitOutput {
|
|||
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
||||
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
||||
readonly __wbindgen_export_6: WebAssembly.Table;
|
||||
readonly closure355_externref_shim: (a: number, b: number, c: any) => void;
|
||||
readonly closure368_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
||||
readonly closure343_externref_shim: (a: number, b: number, c: any) => void;
|
||||
readonly closure365_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
||||
readonly __wbindgen_start: () => void;
|
||||
}
|
||||
|
||||
|
|
|
@ -146,11 +146,11 @@ export function ludus(src) {
|
|||
}
|
||||
|
||||
function __wbg_adapter_18(arg0, arg1, arg2) {
|
||||
wasm.closure355_externref_shim(arg0, arg1, arg2);
|
||||
wasm.closure343_externref_shim(arg0, arg1, arg2);
|
||||
}
|
||||
|
||||
function __wbg_adapter_44(arg0, arg1, arg2, arg3) {
|
||||
wasm.closure368_externref_shim(arg0, arg1, arg2, arg3);
|
||||
wasm.closure365_externref_shim(arg0, arg1, arg2, arg3);
|
||||
}
|
||||
|
||||
async function __wbg_load(module, imports) {
|
||||
|
@ -306,8 +306,8 @@ function __wbg_get_imports() {
|
|||
const ret = false;
|
||||
return ret;
|
||||
};
|
||||
imports.wbg.__wbindgen_closure_wrapper1080 = function(arg0, arg1, arg2) {
|
||||
const ret = makeMutClosure(arg0, arg1, 356, __wbg_adapter_18);
|
||||
imports.wbg.__wbindgen_closure_wrapper1044 = function(arg0, arg1, arg2) {
|
||||
const ret = makeMutClosure(arg0, arg1, 344, __wbg_adapter_18);
|
||||
return ret;
|
||||
};
|
||||
imports.wbg.__wbindgen_init_externref_table = function() {
|
||||
|
|
BIN
pkg/rudus_bg.wasm
(Stored with Git LFS)
BIN
pkg/rudus_bg.wasm
(Stored with Git LFS)
Binary file not shown.
4
pkg/rudus_bg.wasm.d.ts
vendored
4
pkg/rudus_bg.wasm.d.ts
vendored
|
@ -9,6 +9,6 @@ export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|||
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_export_6: WebAssembly.Table;
|
||||
export const closure355_externref_shim: (a: number, b: number, c: any) => void;
|
||||
export const closure368_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
||||
export const closure343_externref_shim: (a: number, b: number, c: any) => void;
|
||||
export const closure365_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
||||
export const __wbindgen_start: () => void;
|
||||
|
|
Loading…
Reference in New Issue
Block a user