← home · docs · spec · guide · github

std — batteries included

every file in std/ is just SB you can open. steal, copy, remix. pls bring <name>.

maths

trig, lerp, clamp, is_prime, gcd, factorial…

pls bring maths.
say maths_sin with 1.5.
open →

lists

chunk, uniq, flatten, shuffle.

pls bring lists.
say chunk with xs and 2.
open →

strings

word_count, title_case, caesar.

pls bring strings.
open →

fp

map_with / filter_with / reduce_with

pls bring fp.
map_with with xs and fn ...
open →

ui / shimgui

glass HTML kit + real GTK.

pls bring shimgui.
shimgui_button with "Click".
open →

files_extra / fs_extra

read/write helpers, path utils.

pls bring files_extra.
open →

crypto / datetime

hash, random, now, format.

pls bring crypto.
pls bring datetime.
open →

nob / shimtorch

tiny numpy/torch in SB.

pls bring nob.
pls bring shimtorch.
open →

game

collision, fixed-timestep loops, tilemaps, sfx.

pls bring game.
hit_box with x and y and w and h and cx and cy and 32 and 32.
open →

ketiwe / ketiwe3d

pixel GUI, sprites, wireframe and solid 3D.

pls bring ketiwe.
pls bring ketiwe3d.
draw_wire with verts and edges and 300 and 320 and 240 and "#a78bfa".
open →