inkmap 161ce97 (dirty): carriage contact cap: effort over the rest baseline, at drawing speeds, 100 ms sustained, 20 N; record_session merges at image-scale 1.0
Browse files
assets/{index-2mQHbuLa.js → index-B4sCxM6m.js}
RENAMED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/trace.worker-C5Qiajpd.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/trace.worker-dwqaaMe3.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
| 1 |
-
(function(){"use strict";let i;function x(e){i=e}const O=typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder;let M=new O("utf-8",{ignoreBOM:!0,fatal:!0});M.decode();let p=null;function a(){return(p===null||p.byteLength===0)&&(p=new Uint8Array(i.memory.buffer)),p}function l(e,n){return e=e>>>0,M.decode(a().subarray(e,e+n))}const u=new Array(128).fill(void 0);u.push(void 0,null,!0,!1);let w=u.length;function f(e){w===u.length&&u.push(u.length+1);const n=w;return w=u[n],u[n]=e,n}function _(e){return u[e]}function U(e){e<132||(u[e]=w,w=e)}function B(e){const n=_(e);return U(e),n}function h(e){return e==null}let j=null;function $(){return(j===null||j.byteLength===0)&&(j=new Float64Array(i.memory.buffer)),j}let S=null;function s(){return(S===null||S.byteLength===0)&&(S=new Int32Array(i.memory.buffer)),S}let g=0;const F=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let A=new F("utf-8");const L=typeof A.encodeInto=="function"?function(e,n){return A.encodeInto(e,n)}:function(e,n){const t=A.encode(e);return n.set(t),{read:e.length,written:t.length}};function T(e,n,t){if(t===void 0){const d=A.encode(e),m=n(d.length,1)>>>0;return a().subarray(m,m+d.length).set(d),g=d.length,m}let r=e.length,o=n(r,1)>>>0;const b=a();let c=0;for(;c<r;c++){const d=e.charCodeAt(c);if(d>127)break;b[o+c]=d}if(c!==r){c!==0&&(e=e.slice(c)),o=t(o,r,r=c+e.length*3,1)>>>0;const d=a().subarray(o+c,o+r),m=L(e,d);c+=m.written}return g=c,o}let k=null;function R(){return(k===null||k.byteLength===0)&&(k=new BigInt64Array(i.memory.buffer)),k}function v(e){const n=typeof e;if(n=="number"||n=="boolean"||e==null)return`${e}`;if(n=="string")return`"${e}"`;if(n=="symbol"){const o=e.description;return o==null?"Symbol":`Symbol(${o})`}if(n=="function"){const o=e.name;return typeof o=="string"&&o.length>0?`Function(${o})`:"Function"}if(Array.isArray(e)){const o=e.length;let b="[";o>0&&(b+=v(e[0]));for(let c=1;c<o;c++)b+=", "+v(e[c]);return b+="]",b}const t=/\[object ([^\]]+)\]/.exec(toString.call(e));let r;if(t.length>1)r=t[1];else return toString.call(e);if(r=="Object")try{return"Object("+JSON.stringify(e)+")"}catch{return"Object"}return e instanceof Error?`${e.name}: ${e.message}
|
| 2 |
-
${e.stack}`:r}function q(){i.main()}function N(e,n){const t=n(e.length*1,1)>>>0;return a().set(e,t/1),g=e.length,t}class y{static __wrap(n){n=n>>>0;const t=Object.create(y.prototype);return t.__wbg_ptr=n,t}__destroy_into_raw(){const n=this.__wbg_ptr;return this.__wbg_ptr=0,n}free(){const n=this.__destroy_into_raw();i.__wbg_binaryimageconverter_free(n)}constructor(n,t,r){const o=i.binaryimageconverter_new(f(n),f(t),f(r));return y.__wrap(o)}init(){i.binaryimageconverter_init(this.__wbg_ptr)}tick(){return i.binaryimageconverter_tick(this.__wbg_ptr)!==0}getResult(){let n,t;try{const b=i.__wbindgen_add_to_stack_pointer(-16);i.binaryimageconverter_getResult(b,this.__wbg_ptr);var r=s()[b/4+0],o=s()[b/4+1];return n=r,t=o,l(r,o)}finally{i.__wbindgen_add_to_stack_pointer(16),i.__wbindgen_free(n,t,1)}}progress(){return i.binaryimageconverter_progress(this.__wbg_ptr)>>>0}}function W(e,n){const t=new Error(l(e,n));return f(t)}function D(e){B(e)}function C(e){return _(e)===void 0}function P(e,n){return _(e)in _(n)}function z(e,n){const t=_(n),r=typeof t=="number"?t:void 0;$()[e/8+1]=h(r)?0:r,s()[e/4+0]=!h(r)}function G(e){return typeof _(e)=="bigint"}function H(e){const n=BigInt.asUintN(64,e);return f(n)}function J(e,n){return _(e)===_(n)}function Q(e){const n=_(e);return typeof n=="boolean"?n?1:0:2}function V(e,n){const t=_(n),r=typeof t=="string"?t:void 0;var o=h(r)?0:T(r,i.__wbindgen_malloc,i.__wbindgen_realloc),b=g;s()[e/4+1]=b,s()[e/4+0]=o}function K(e){const n=_(e);return typeof n=="object"&&n!==null}function X(e,n){const t=l(e,n);return f(t)}function Y(e){const n=_(e);return f(n)}function Z(){const e=new Error;return f(e)}function ee(e,n){const t=_(n).stack,r=T(t,i.__wbindgen_malloc,i.__wbindgen_realloc),o=g;s()[e/4+1]=o,s()[e/4+0]=r}function ne(e,n){let t,r;try{t=e,r=n,console.error(l(e,n))}finally{i.__wbindgen_free(t,r,1)}}function te(e,n){return _(e)==_(n)}function re(e,n){const t=_(e)[_(n)];return f(t)}function _e(e,n){const t=String(_(n)),r=T(t,i.__wbindgen_malloc,i.__wbindgen_realloc),o=g;s()[e/4+1]=o,s()[e/4+0]=r}function oe(e){return _(e).width}function ie(e){return _(e).height}function ce(e,n){const t=_(n).data,r=N(t,i.__wbindgen_malloc),o=g;s()[e/4+1]=o,s()[e/4+0]=r}function se(e,n,t,r){console.debug(_(e),_(n),_(t),_(r))}function fe(e,n,t,r){console.error(_(e),_(n),_(t),_(r))}function be(e,n,t,r){console.info(_(e),_(n),_(t),_(r))}function ue(e){console.log(_(e))}function de(e,n,t,r){console.log(_(e),_(n),_(t),_(r))}function ge(e,n,t,r){console.warn(_(e),_(n),_(t),_(r))}function ae(e){let n;try{n=_(e)instanceof ArrayBuffer}catch{n=!1}return n}function le(e){return Number.isSafeInteger(_(e))}function we(e){const n=_(e).buffer;return f(n)}function he(e){const n=new Uint8Array(_(e));return f(n)}function ye(e,n,t){_(e).set(_(n),t>>>0)}function me(e){return _(e).length}function pe(e){let n;try{n=_(e)instanceof Uint8Array}catch{n=!1}return n}function je(e,n){const t=_(n),r=typeof t=="bigint"?t:void 0;R()[e/8+1]=h(r)?BigInt(0):r,s()[e/4+0]=!h(r)}function Se(e,n){const t=v(_(n)),r=T(t,i.__wbindgen_malloc,i.__wbindgen_realloc),o=g;s()[e/4+1]=o,s()[e/4+0]=r}function Ae(e,n){throw new Error(l(e,n))}function Te(){const e=i.memory;return f(e)}var ke=Object.freeze({__proto__:null,BinaryImageConverter:y,__wbg_String_88810dfeb4021902:_e,__wbg_buffer_085ec1f694018c4f:we,__wbg_data_eaf4962120932fdc:ce,__wbg_debug_9b8701f894da9929:se,__wbg_error_d9bce418caafb712:fe,__wbg_error_f851667af71bcfc6:ne,__wbg_getwithrefkey_5e6d9547403deab8:re,__wbg_height_c8424a3757db7869:ie,__wbg_info_bb52f40b06f679de:be,__wbg_instanceof_ArrayBuffer_39ac22089b74fddb:ae,__wbg_instanceof_Uint8Array_d8d9cb2b8e8ac1d4:pe,__wbg_isSafeInteger_bb8e18dd21c97288:le,__wbg_length_72e2208bbc0efc61:me,__wbg_log_1d3ae0273d8f4f8a:ue,__wbg_log_ea7093e35e3efd07:de,__wbg_new_8125e318e6245eed:he,__wbg_new_abda76e883ba8a5f:Z,__wbg_set_5cf90238115182c3:ye,__wbg_set_wasm:x,__wbg_stack_658279fe44541cf6:ee,__wbg_warn_dfc0e0cf544a13bd:ge,__wbg_width_c97f89a38a3c1da7:oe,__wbindgen_bigint_from_u64:H,__wbindgen_bigint_get_as_i64:je,__wbindgen_boolean_get:Q,__wbindgen_debug_string:Se,__wbindgen_error_new:W,__wbindgen_in:P,__wbindgen_is_bigint:G,__wbindgen_is_object:K,__wbindgen_is_undefined:C,__wbindgen_jsval_eq:J,__wbindgen_jsval_loose_eq:te,__wbindgen_memory:Te,__wbindgen_number_get:z,__wbindgen_object_clone_ref:Y,__wbindgen_object_drop_ref:D,__wbindgen_string_get:V,__wbindgen_string_new:X,__wbindgen_throw:Ae,main:q});let I=null;function Ie(e){return I||(I=(async()=>{const n=await e(),t={"./vectortracer_bg.js":ke},r=typeof Response<"u"&&n instanceof Response?await WebAssembly.instantiateStreaming(n,t):await WebAssembly.instantiate(n,t),o="instance"in r?r.instance:r;x(o.exports),o.exports.__wbindgen_start?.()})().catch(n=>{throw I=null,n})),I}function ve(e,n={}){const t=new y(e,{debug:!1,mode:n.mode??"spline",cornerThreshold:n.cornerThreshold??60,lengthThreshold:n.lengthThreshold??4,maxIterations:10,spliceThreshold:n.spliceThreshold??45,filterSpeckle:n.filterSpeckle??6,pathPrecision:n.pathPrecision??2},{invert:!1,pathFill:n.fill??"#111111",backgroundColor:void 0,attributes:void 0,scale:1});try{for(t.init();!t.tick(););return t.getResult()}catch(r){throw E=!0,new Error(`vtracer failed (${r.message||r}) — mode ${n.mode??"spline"}`)}finally{E||t.free()}}let E=!1;var xe=""+new URL("vectortracer_bg-BAPUjhQG.wasm",self.location.href).href;self.onmessage=async e=>{try{await Ie(()=>fetch(xe));const n=ve(e.data.bin,e.data.opts);self.postMessage({ok:!0,svg:n})}catch(n){self.postMessage({ok:!1,error:n.message??String(n)})}}})();
|
|
|
|
|
|
|
|
|
assets/vectortracer_bg-BAPUjhQG.wasm
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:de2ac402bb08625105a8bc3602adacf7a089bd488359166fdf5832553f4a5ee2
|
| 3 |
-
size 126341
|
|
|
|
|
|
|
|
|
|
|
|
index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
| 6 |
<meta name="robots" content="noindex" />
|
| 7 |
<title>Inkmap — tattoo preview</title>
|
| 8 |
-
<script type="module" crossorigin src="./assets/index-
|
| 9 |
<link rel="stylesheet" crossorigin href="./assets/index-D5fouZEG.css">
|
| 10 |
</head>
|
| 11 |
<body>
|
|
|
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
| 6 |
<meta name="robots" content="noindex" />
|
| 7 |
<title>Inkmap — tattoo preview</title>
|
| 8 |
+
<script type="module" crossorigin src="./assets/index-B4sCxM6m.js"></script>
|
| 9 |
<link rel="stylesheet" crossorigin href="./assets/index-D5fouZEG.css">
|
| 10 |
</head>
|
| 11 |
<body>
|