spliceskate plugins
Quick answer: a spliceskate plugin is one JavaScript file, up to 512 KB, that calls plugin({...}). It can do four things: change board settings, add or remove up to a few millimetres of surface, add notes, and add files to the download. It runs in a locked box in your browser with no network, no access to the page and a time limit. To have a plugin included for everyone, email the file to nedwalsch@gmail.com.
Use a plugin
- Open the deck designer and scroll to the last drawer, Plugins.
- Tick one of the included plugins, or choose Load a plugin file and pick a
.jsfile from your computer. - Move its sliders. A relief plugin redraws the deck; a design plugin waits for you to press its button, and Undo puts the board back.
- Download as usual. Files a plugin writes land in a
pluginsfolder inside the zip, and READ ME.txt lists every plugin that was on.
A plugin you load from a file stays until you close the page. It is not saved in your browser and it is not part of a share link. The design.json in a download remembers which plugins were on and their settings, so opening it later switches the same ones back on, if they are loaded.
Load plugins only from people you trust. The box stops a plugin from reaching the network or your files, but it cannot stop one from giving you a weak shape or wrong advice.
Write one
Save this as my-stripe.js, load it in the Plugins drawer, and a raised stripe appears down the deck. That is a complete plugin.
plugin({
api: 1,
id: 'my-stripe', // 3 to 40 lower-case letters, digits or dashes
name: 'Centre stripe',
version: '1.0.0',
author: 'Your name',
description: 'A raised stripe down the middle of the deck.',
settings: [
{ key: 'width', label: 'Stripe width', type: 'range', min: 10, max: 60, step: 1, value: 24, unit: 'mm' },
{ key: 'height', label: 'Stripe height', type: 'range', min: 0.5, max: 4, step: 0.5, value: 1.5, unit: 'mm' }
],
relief(ctx) {
const g = ctx.grid, out = new Float32Array(g.nx * g.ny);
for (let j = 0; j < g.ny; j++) for (let i = 0; i < g.nx; i++) {
const x = g.x0 + i * g.step; // millimetres from the centre line
if (Math.abs(x) < ctx.settings.width / 2) out[j * g.nx + i] = ctx.settings.height;
}
return { top: out };
}
});
There is no build step and nothing to install. Edit the file, load it again, and the new copy replaces the old one. If the file has a mistake, the drawer says so with the line number.
Start from an example
| File | What it does | Hooks |
|---|---|---|
| stiffening-ribs.js | Stiffening ribs: Lengthwise ribs under the deck. The shortest complete relief plugin. | relief and notes |
| scale-board.js | Scale the board: Makes the board longer, shorter, wider or narrower. Shows how a plugin changes settings. | design |
| flat-outline-dxf.js | Flat outline (DXF): Adds a DXF drawing and a CSV of the holes to the download. | files and notes |
| dome-grip-wasm.js | Dome grip: A honeycomb of low domes. The maths runs in a 253-byte WebAssembly module carried inside the file. | relief, in WebAssembly |
The four hooks
A plugin has at least one of these functions. Each gets one argument, ctx, and may return a value or a promise.
| Hook | Runs | Returns | Time limit |
|---|---|---|---|
| design(ctx) | when the person presses the plugin's button | an object of board settings to change | 4 s |
| relief(ctx) | whenever the board or the plugin's settings change | { top, bottom }: millimetres to add at every grid point | 8 s |
| notes(ctx) | whenever the board or the plugin's settings change | up to 6 lines of text, 240 characters each | 3 s |
| files(ctx) | when the person downloads | up to 8 files: { name, text } or { name, bytes } | 10 s |
What ctx holds
{
api: 1,
board: { wheelbase: 407, noseLen: 67.5, tailLen: 133, wMid: 174.2, thick: 10.2, ... }, // every setting, as in design.json
settings: { width: 24, height: 1.5 }, // your own settings, as set in the drawer
info: {
units: 'mm',
length: 715.45, width: 190, thickness: 10.2, wheelbase: 407,
yNose: -324.98, yTail: 390.48, // the deck runs from yNose to yTail; y = 0 is midway between the trucks
trucks: [{ name: 'front', y: -235.25, from: -275.75, to: -194.75 }, { name: 'rear', ... }], // from/to: the mounting area
holes: [{ x: -20.64, y: -267, diameter: 5.5, slot: 0, kind: 'truck' }, ...], // kind: truck, skid or addon
outline: [[x, y], ...], // the outline as a closed polygon, a point about every 3 mm
scale: 1, // 1 on a full-size deck. On a fingerboard, about 0.139: every length here is still full size
flat: { y: [...], s: [...] }, // s = distance along the curved surface for each y (61 samples)
bed: [220, 220, 220], pieces: 4
},
// relief() only:
grid: { x0: -100, y0: -328.975, step: 2, nx: 101, ny: 363 },
edge: Float32Array // per grid point: millimetres to the edge of the deck, 0 outside it
}
All lengths are millimetres. x runs across the deck and is 0 on the centre line. y runs along the deck from info.yNose to info.yTail, with 0 midway between the trucks, measured on the flat before the kicks bend it. Grid point (i, j) sits at x0 + i * step, y0 + j * step, and its value lives at index j * nx + i.
design: change settings
Return only the settings you want to change. The site ignores names it does not know, holds each number to the limits of its own slider, refuses anything that does not build, and never lets a plugin change the printer or the bed size. The length of a board is noseLen + wheelbase + tailLen plus 107.95 mm for the two bolt patterns, so scaling those three scales the board.
These are the 196 settings a design plugin can change:
Size (14)
| Name | What it is | Allowed |
|---|---|---|
| fb | Fingerboard: make it finger size | true or false |
| fbThick | Deck thickness, real | 1.5 to 4 mm |
| fbHoleY | Truck holes: spacing along the deck | 6 to 10 mm |
| fbHoleX | Truck holes: spacing across the deck | 4 to 7 mm |
| fbHoleDia | Truck hole diameter | 1 to 3 mm |
| wheelbase | Wheelbase, inner bolts to inner bolts | 150 to 1000 mm |
| noseLen | Nose length, front bolts to tip | 20 to 400 mm |
| tailLen | Tail length, rear bolts to tip | 20 to 400 mm |
| wMid | Width at the middle | 120 to 380 mm |
| wNose | Width at the nose | 60 to 380 mm |
| wTail | Width at the tail | 60 to 380 mm |
| lockW | Lock the three widths together: move one and the other two keep their proportion | true or false |
| thick | Deck thickness | 8 to 18 mm |
| railR | Rail rounding | 0 to 8 mm |
Nose and tail outline (22)
| Name | What it is | Allowed |
|---|---|---|
| noseCap | Rounded end length | 20 to 450 mm |
| noseSq | Shape: 1 diamond, 1.3 pointed, 2 round, 4 and up square | 1 to 6 |
| noseTaperStart | Width change starts, from the tip | 20 to 450 mm |
| noseTaperLen | Width change length | 10 to 400 mm |
| tailCap | Rounded end length | 20 to 450 mm |
| tailSq | Shape: 1 diamond, 1.3 pointed, 2 round, 4 and up square | 1 to 6 |
| tailTaperStart | Width change starts, from the tip | 20 to 450 mm |
| tailTaperLen | Width change length | 10 to 400 mm |
| tailNotch | Tail notch depth (0 for none): swallow or bat tail | 0 to 120 mm |
| tailNotchKind | Notch style | 'swallow', 'bat' |
| tailNotchW | Notch width at the end (bat tail: both scallops together) | 20 to 240 mm |
| taperLin | Straight-sided width changes, for coffin and dagger shapes | true or false |
| bumpF | Front: bump out (+) or cut in (−) | -45 to 25 mm |
| bumpFSide | Front: which side | 'both', 'a', 'b' |
| bumpFPos | Front: centre, behind the front truck (+) or ahead of it (−) | -80 to 260 mm |
| bumpFLen | Front: length | 30 to 300 mm |
| bumpR | Rear: bump out (+) or cut in (−) | -45 to 25 mm |
| bumpRSide | Rear: which side | 'both', 'a', 'b' |
| bumpRPos | Rear: centre, ahead of the rear truck (+) or behind it (−) | -80 to 260 mm |
| bumpRLen | Rear: length | 30 to 300 mm |
| noseSkew | Nose offset to one side (− or +) | -40 to 40 mm |
| tailSkew | Tail offset to one side (− or +) | -40 to 40 mm |
Kicks, lips and camber (15)
| Name | What it is | Allowed |
|---|---|---|
| tailKick | Kick angle | 0 to 30 ° |
| tailKickStart | Kick starts past the rear bolts | 5 to 90 mm |
| tailKickTrans | Bend length | 20 to 120 mm |
| tailLip | Lip: extra curl at the tip | 0 to 15 ° |
| tailLipLen | Lip length | 15 to 90 mm |
| noseKick | Kick angle | 0 to 30 ° |
| noseKickStart | Kick starts past the front bolts | 5 to 90 mm |
| noseKickTrans | Bend length | 20 to 120 mm |
| noseLip | Lip: extra curl at the tip | 0 to 15 ° |
| noseLipLen | Lip length | 15 to 90 mm |
| camber | Lengthwise camber (+) or reverse camber, rocker (−) | -15 to 15 mm |
| profF | Under the front foot: raised (+) or lowered (−) | -12 to 12 mm |
| profR | Under the rear foot: raised (+) or lowered (−) | -12 to 12 mm |
| dropDepth | Dropped platform: how far it sits below the trucks | 0 to 30 mm |
| dropLen | Drop ramp length | 40 to 140 mm |
Concave (13)
| Name | What it is | Allowed |
|---|---|---|
| concFront | Depth at the front truck | 0 to 22 mm |
| concRear | Depth at the rear truck | 0 to 22 mm |
| concFlat | Flat strip down the middle | 40 to 140 mm |
| concExp | Curve: 2 radial, 3 and up flat with steep rails | 1.5 to 4 |
| wHeight | W ridge height (0 for none) | 0 to 8 mm |
| wWidth | W ridge width | 40 to 140 mm |
| wFrom | W starts: % of the way from the front truck to the rear | 0 to 100 |
| wTo | W ends: % of the way | 0 to 100 |
| concSide | Deeper on one rail, %: the right rail (+) or the left (−) | -60 to 60 |
| gasD | Bevel depth at the rail (0 for none) | 0 to 8 mm |
| gasW | Bevel width, in from the rail | 8 to 40 mm |
| gasLen | Length along the rail | 80 to 500 mm |
| gasPos | Position: toward the nose (−) or the tail (+) | -300 to 300 mm |
Trucks and wheels (22)
| Name | What it is | Allowed |
|---|---|---|
| mount | Mount | 'top', 'drop', 'snow' |
| pattern | Bolt pattern | 'new', 'old', 'both6', 'both8' |
| wbOptions | Wheelbase options (hole sets per truck) | 1 to 3 |
| wbStep | Spacing between options | 8 to 40 mm |
| holeDia | Hole diameter | 4.5 to 7 mm |
| csink | Countersink the truck holes on top | true or false |
| dtSlotW | Slot width | 16 to 40 mm |
| dtSlotL | Slot length | 60 to 130 mm |
| dtWinW | Middle window width | 20 to 90 mm |
| dtWinL | Middle window length | 20 to 70 mm |
| wedgeF | Front wedge angle | -15 to 15 ° |
| wedgeFType | Front mount | 'raised', 'recessed' |
| wedgeR | Rear wedge angle | -15 to 15 ° |
| wedgeRType | Rear mount | 'raised', 'recessed' |
| riser | Built-in riser height (raised pads) | 0 to 15 mm |
| flush | Flush cut: seat each baseplate this deep in the deck | 0 to 4 mm |
| bracket | The nose carries a bracket, not a truck (long-distance pumping) | true or false |
| padsLoose | Print raised pads as separate parts, for TPU shock pads | true or false |
| wheelDia | Wheel diameter | 40 to 110 mm |
| wheelW | Wheel width | 20 to 70 mm |
| truckH | Truck height: deck to axle centre | 40 to 80 mm |
| axleW | Axle width (0 matches the deck width) | 0 to 380 mm |
Snowskate base (4)
| Name | What it is | Allowed |
|---|---|---|
| snowGrooves | Grooves along the base (0 for none) | 0 to 9 |
| snowGrooveW | Groove width | 5 to 20 mm |
| snowGrooveD | Groove depth | 0.5 to 4 mm |
| leash | Leash hole near the nose | true or false |
Wheel wells (7)
| Name | What it is | Allowed |
|---|---|---|
| wells | Cut wheel wells into the underside | true or false |
| wellW | Width | 30 to 80 mm |
| wellOut | Reach past the truck, toward the tip (below 0 it stops short of the truck) | -40 to 40 mm |
| wellIn | Reach toward the middle | 20 to 120 mm |
| wellDepth | Depth | 1 to 12 mm |
| wellMargin | Solid rail left outside | 4 to 15 mm |
| flareH | Wheel flares: bump on top over each well | 0 to 8 mm |
Grip texture, pockets and honeycomb (14)
| Name | What it is | Allowed |
|---|---|---|
| grip | Printed grip on top | 'none', 'diamond' |
| gripPitch | Ridge spacing | 5 to 20 mm |
| gripH | Ridge height | 0.3 to 1.2 mm |
| pocketD | Pocket depth (0 for none) | 0 to 8 mm |
| pocketLen | Pocket length | 30 to 800 mm |
| pocketRib | Rib between pockets | 6 to 40 mm |
| pocketEdge | Solid band along each rail | 14 to 50 mm |
| pocketSpine | Solid spine down the middle | 30 to 100 mm |
| hex | Cut hexagonal holes through the deck | true or false |
| hexSize | Hexagon size, flat to flat | 10 to 45 mm |
| hexWall | Wall between hexagons | 3 to 20 mm |
| hexRim | Solid border at the edge | 6 to 60 mm |
| hexFrom | Starts: % of the length from the nose | 0 to 100 |
| hexTo | Ends: % of the length | 0 to 100 |
Skid plates and wear pads (9)
| Name | What it is | Allowed |
|---|---|---|
| skidTail | Tail (tail bone) | 'none', 'bolt', 'slim', 'glue', 'bumper', 'printed' |
| skidNose | Nose (nose guard) | 'none', 'bolt', 'slim', 'glue', 'bumper', 'printed' |
| skidT | Plate thickness | 6 to 18 mm |
| padT | Wear pad thickness | 2 to 12 mm |
| skidStart | Starts past the kick start | 10 to 60 mm |
| skidOver | Plate overhang past the tip | 0 to 15 mm |
| skidArt | Graphic on the ground face | 'plain', 'sod', 'flames', 'text' |
| skidText | Words: letters, numbers and ! - . | text, up to 24 of A-Z 0-9 space ! . - |
| slimLen | Slim plate length, front to back | 30 to 120 mm |
Foot stops, rails and handle (30)
| Name | What it is | Allowed |
|---|---|---|
| stopF | Front stop | 'none', 'printed', 'bolt' |
| stopFY | Distance behind the front bolts | -100 to 300 mm |
| stopFX | Sideways offset | -90 to 90 mm |
| stopFA | Angle | -60 to 60 ° |
| stopR | Rear stop | 'none', 'printed', 'bolt' |
| stopRY | Distance ahead of the rear bolts | -100 to 300 mm |
| stopRX | Sideways offset | -90 to 90 mm |
| stopRA | Angle | -60 to 60 ° |
| stopLen | Length | 20 to 160 mm |
| stopW | Width | 10 to 40 mm |
| stopH | Height | 4 to 30 mm |
| rails | Rails | 'none', 'printed', 'bolt' |
| railLen | Length | 80 to 500 mm |
| railPos | Position: toward the nose (−) or the tail (+) | -200 to 200 mm |
| railInset | Distance in from the deck edge | 15 to 70 mm |
| railW | Width | 8 to 24 mm |
| railH | Height | 4 to 16 mm |
| handle | Cut a hand slot through the deck | true or false |
| handleY | Position: toward the nose (−) or the tail (+) | -300 to 300 mm |
| handleLen | Slot length | 70 to 130 mm |
| handleW | Slot width | 20 to 36 mm |
| enc | Add two rows of bolt holes for an under-deck box | true or false |
| encLen | First hole to last hole | 100 to 600 mm |
| encW | Distance between the rows | 60 to 220 mm |
| encN | Holes per row | 2 to 8 |
| encY | Position: toward the nose (−) or the tail (+) | -200 to 200 mm |
| straps | Add holes for foot straps: one pair for each foot | true or false |
| strapStance | Distance between the two feet | 150 to 900 mm |
| strapPos | Position: toward the nose (−) or the tail (+) | -200 to 200 mm |
| strapSpan | Distance between the two holes of a strap | 60 to 300 mm |
Bolt-on hardware (2)
| Name | What it is | Allowed |
|---|---|---|
| skidHW | Bolts for skid plates, stops, rails and boxes | 'skate', 'm5' |
| lamT | Carbon or laminate you will add (both faces) | 0 to 4 mm |
Carbon strip and rod channels (11)
| Name | What it is | Allowed |
|---|---|---|
| carbon | Channels across the joints | 'none', 'bottom', 'top', 'both' |
| carbonN | Strips per face: 2 or 4 | 2 to 4 |
| carbonW | Channel width | 2 to 25 mm |
| carbonD | Channel depth | 0.4 to 3 mm |
| carbonOff | Inner pair: board centre to strip centre | 6 to 16 mm |
| carbonOut | Outer pair: board centre to strip centre | 28 to 100 mm |
| carbonCap | Hide the underside carbon under printed caps | true or false |
| carbonTow | Use carbon strands (tow) instead of stiff strip: the ducts then run through the kicks | true or false |
| carbonX | Cross strands: grooves across the top face, under the grip tape | true or false |
| carbonXPitch | Cross grooves: spacing | 40 to 150 mm |
| carbonXW | Cross grooves: width | 4 to 12 mm |
Carbon layup plan (3)
| Name | What it is | Allowed |
|---|---|---|
| ride | How it will be ridden | 'cruise', 'street', 'freestyle', 'slalom', 'downhill', 'dance' |
| riderKg | Rider weight | 30 to 130 kg |
| layupBag | How the cloth is pressed down | 'hand', 'bag' |
Press mold for a wooden deck (11)
| Name | What it is | Allowed |
|---|---|---|
| mold | Add a press mold to the download | true or false |
| moldMargin | Extra around the deck outline | 5 to 40 mm |
| moldBase | Solid thickness at the thinnest point | 8 to 40 mm |
| gcode | Add G-code for a CNC router that cuts the two mold halves | true or false |
| cncBit | Ball-nose bit diameter | 1 to 25 mm |
| cncStepover | Distance between finishing passes | 0.1 to 6 mm |
| cncStepdown | Depth of each roughing pass | 0.2 to 12 mm |
| cncFeed | Cutting feed (mm/min) | 100 to 10000 |
| cncPlunge | Plunge feed (mm/min) | 50 to 3000 |
| cncRpm | Spindle speed (rpm) | 1000 to 40000 |
| cncSafe | Height for rapid moves, above the stock | 1 to 50 mm |
Cuts and joints (12)
| Name | What it is | Allowed |
|---|---|---|
| centerSplit | Split down the middle | 'auto', 'on', 'off' |
| stagger | Stagger the cuts between the two halves | true or false |
| printPose | How the pieces print | 'flat', 'end' |
| endGap | Gap at each joint, filled with epoxy | 0.3 to 2 mm |
| cutMode | Cross cuts | 'auto', 'manual' |
| nCuts | Number of cross cuts | 0 to 12 |
| keysPer | Keys per joint | 1 to 5 |
| keyNeck | Key neck width | 6 to 20 mm |
| keyHead | Key head width | 10 to 30 mm |
| keyLen | Key length | 5 to 15 mm |
| keyClr | Fit clearance per side | 0.05 to 0.4 mm |
| gap | Glue gap between pieces | 0 to 0.3 mm |
Weight estimate and export (7)
| Name | What it is | Allowed |
|---|---|---|
| material | Filament | 'PETG', 'PLA', 'ASA', 'ABS', 'Nylon' |
| walls | Walls | 2 to 8 |
| infill | Infill % | 5 to 100 |
| density | Filament density (g/cm³) | 1 to 1.45 |
| price | Filament price per kg ($) | 5 to 120 |
| quality | Export detail | 'normal', 'fine' |
| step | Add a STEP file of the deck, for CAD programs | true or false |
relief: shape the surface
Return a Float32Array of nx * ny values for top, bottom or both. A positive value adds material on that face and a negative value removes it. The site holds every value between -3 and +8 mm and never lets the deck get thinner than 3 mm. It also keeps relief off the rounded edge, away from every hole, out of the wheel wells, and off the places where trucks, skid plates, foot stops and bolt-on rails sit, so you do not have to.
The grid is 2 mm and the deck mesh is about 1.8 mm, so shapes narrower than about 6 mm blur. A printer nozzle would blur them too. When a plugin removes material, the site tells the person the deck is thinner and weaker there.
notes: say something
Return an array of short strings. They appear under the piece list, marked with your plugin's name, and are copied into READ ME.txt. They are shown as plain text: HTML is not rendered.
files: add to the download
Return { name, text } for text or { name, bytes } with a Uint8Array. Names may end in txt, md, csv, json, gcode, nc, scad, dxf, obj or stl. Each file may be up to 4 MB and all of them together up to 12 MB. Folders in a name are dropped: every file lands in plugins/your-id/. Anything else is left out without an error.
Settings
Up to 12 settings, drawn as controls under your plugin's name. Each needs a key (a letter, then letters, digits or underscores) and a type.
| type | Fields | Value your hook gets |
|---|---|---|
| range | min, max, step, value, unit | a number between min and max |
| select | options: [[value, label], ...], value | one of the option values |
| check | value | true or false |
| text | value | a string, up to 40 characters |
Every setting can also carry a label and a line of help. A design plugin can set button to name its button.
WebAssembly
WebAssembly works, and so does any language that compiles to it: Rust, C, C++, Zig, AssemblyScript. The module has to travel inside the plugin file, as base64, because a plugin cannot download anything. Call plugin() once the module is ready; it has 5 seconds from the moment the file loads. dome-grip-wasm.js is a complete example with its source text. A plugin sent in for inclusion must come with the source of its module.
Python
Python plugins are not supported yet. Running Python in a browser means loading a Python runtime of several megabytes from a server, and the plugin box has no network access at all. That is the property that makes plugins safe to load, so it stays. If Python matters to you, write and say so: the way to do it is a runtime served by this site and opened only for plugins that ask for it.
What a plugin can and cannot do
A plugin never runs in the page. It runs in a Web Worker inside a sandboxed frame that has its own, empty origin and a content security policy of default-src 'none'. The page passes it the board and reads back an answer, and that is the only contact.
| Blocked, and tested | How it was tested |
|---|---|
| Network: fetch, XMLHttpRequest, WebSocket, EventSource, importScripts, import(), remote and nested workers | A test plugin tried each one against a listening server. No connection arrived. |
| The page: document, window, parent, cookies, localStorage, IndexedDB, the cache, eval | All undefined or refused inside the box. |
| Markup in names, notes and labels | A test plugin returned script and image tags everywhere. All of it was shown as text. |
| Endless loops | A plugin that never returns is removed at its time limit. The page keeps working. |
| Bad answers: wrong sizes, NaN, huge numbers, unknown settings, file names with folders, unlisted file types | Each answer is checked and clamped before it is used. Anything that does not fit is dropped. |
These tests ran in Chromium, 10 November 2026. Firefox and Safari have not been tested. If a browser cannot start the box, plugins stay switched off there; plugin code is never run anywhere else as a fallback.
What a plugin can still do. It can set the board to any shape the sliders allow, including a thin or weak one. It can carve up to 3 mm out of a face. Its notes can be wrong. Its files can be wrong, and a wrong G-code file can damage a machine. It can keep one processor core busy while it is switched on, and use memory. The box protects your computer and your data. It does not make a stranger's plugin trustworthy.
Send a plugin in
If you have made a plugin other people would use, email the .js file to nedwalsch@gmail.com. Say what it does, and attach a design.json from a board you tried it on. Plugins that are included appear in the Plugins drawer for everyone, with your name on them, and still run in the same locked box.
Before a plugin is included it is read line by line. It helps if it:
- is plain, readable JavaScript: not minified, and with source for any WebAssembly;
- says in its description what it changes, and says so in a note if it removes material;
- makes no claim about strength or safety that has not been tested;
- comes with a line in the email saying you wrote it and release it under the MIT licence, the same licence as the site;
- has an
idthat no other plugin uses.
Inclusion is a judgement call and is not promised. A plugin you keep to yourself, or share as a file, is yours to license as you like.
Limits at a glance
| Thing | Limit |
|---|---|
| Plugin file | 512 KB, one file |
| Plugin API version | 1 (api: 1) |
| Time to call plugin() | 5 s |
| Settings | 12 |
| Relief | -3 to +8 mm per face, on a 2 mm grid |
| Notes | 6 lines of 240 characters |
| Files | 8 files, 4 MB each, 12 MB together |
| Name, description | 40 and 300 characters |
Questions
Can a plugin read my files or send my design somewhere?
No. A plugin runs in a sandboxed worker with no network access, no access to the page, and no storage. It is given the board settings and a few measurements and can only hand back an answer. A test plugin tried ten ways to make a connection and none got out.
What language are plugins written in?
JavaScript, in one file. WebAssembly is allowed if the module is carried inside the file, so Rust, C, C++, Zig or AssemblyScript work too. Python is not supported yet.
How do I get my plugin added to the site?
Email the .js file to nedwalsch@gmail.com with a line saying what it does and that you release it under the MIT licence. It is read line by line before it is included, and inclusion is not promised.
Why did my plugin stop?
It took longer than its time limit, threw an error outside a hook, or never called plugin(). The drawer shows the reason. Limits are 4 seconds for design, 8 for relief, 3 for notes and 10 for files.
Does a plugin stay loaded?
A plugin loaded from a file stays until the page is closed. Included plugins are always listed and are off until you tick them.