Skip to content
View source

PackagesGenerated

The 19 packages in the repository. A scene uses one whole with use "name.entpkg";. Conventions in Manual · Packages.

Name Brief Kernels Functions
animation A skeleton, the clips that pose it and the mesh that follows: sampling and blending clips, walking, aiming, and skinning by the joint palette. 10 4
audio Sound’s atoms, a block of stereo samples a frame: the clock, the cues a program’s events set going, noise, a tone and an envelope, and the filters and delay lines that shape them. 7 35
controls What a person’s hands do, read for a program, and the one package that reads them: a game’s actions from the keyboard, the mouse and a pad alike, from a table of actions (held, pressed and released, the ways to move and look, the stick’s flicks); the pointer (where, its buttons, the wheel); and what was typed. 5 15
geometry Rotations as quaternions and rigid transforms as matrices; a camera’s matrices and the ways between the world, clip space and the picture; curves through control points; signed distances to shapes, with the ways they are joined; and the ways space is bent before a distance is measured. 0 70
image What Entelechy does to a picture, knowing nothing of the world it shows: color spaces, blending and masks, two pictures compared, filters, tone and its curves, scaling and sharpening, antialiasing within a frame, histograms, distance fields, mipmaps, pixel art and sprite sheets. Each is a word a kernel calls on a pixel, its kernel a thin pass. 39 52
mesh Triangle meshes as two rows, points and faces: lattices that make the torus, the sphere and the plane, midpoint subdivision, and the surface where a field sampled on a lattice crosses a level. The faces are the raster package’s, so a mesh projected point by point is drawn as it is. 11 13
music Music’s words, not a program’s music: scales and chords (the modes and the semitones of their degrees, a note’s pitch, the chords stacked on a degree), an instrument’s note (an Instrument row: how it sounds, its envelope, its vibrato, its chorus). A program makes its songs, tunes and palette of instruments of them (the study’s game_music is one). 0 27
navigation Ways over a grid: how far each cell is from a seed by what each costs to enter, relaxed a pass at a time, and the step a walk takes toward it. 1 6
parallel The data-parallel algorithms other packages build on: a stable sort of integer keys, the compaction of flagged rows, runs of entries laid out by owner, and the connected components of nodes joined by edges. 16 2
physics Rigid circles and boxes in the plane that fall, collide, rest, slide and bounce: pairs found through a grid, manifolds solved all at once over substeps. 23 42
random Randomness a Kernel can repeat: hashes of whole numbers, the same bits on every backend, the value, gradient, fractal, cellular and curl noise built on them, normal draws, and points spread evenly over a disc. 0 24
raster Triangles turned into the surface a camera sees, drawn alike on every backend: plain, tiled and through a cutout mask; and translucent triangles over it, in any order. native.rasterize, and native.cover for the keys alone, are its fast paths. 17 19
signal Fast Fourier transforms of complex numbers in rows 1 << bits long (at most 256), each row a group of lanes running every round of butterflies in place: rows laid end to end, each transformed alone (blocks of a sound, lines of a picture), or a cube 1 << bits a side, x fastest, one axis a pass. The inverse divides by the row’s length, so one undoes the other. 4 5
terrain Ground as heights on a grid of cells: read back as a smooth surface, its normal, where a ray first meets it (crossing blocks it passes over) and how open the sky is over it; worn down by erosion, and laid out as a mesh. 3 7
text Text: glyph rows laid out and drawn from a program’s font atlas, text decoded into rows of letters, the wide glyphs a project’s words use drawn into an atlas, numbers written with their decimals, a template’s holes filled with numbers, and text written to a file through an output to files. 20 26
texture What a surface is drawn with, point by point as a shader asks: patterns, the ways a pattern is laid on a surface, layers and normals. Each is a function a scene’s own material calls where it shades a point (a G-buffer kernel, a distance field’s march, a mesh’s pixels), so a material is these words composed, not a feature of the renderer. 0 21
ui A screen drawn per pixel: rectangles laid out, shapes painted, text written, and navigation through a list by the hands controls reads. What a program’s widgets look like is its own. 3 63
vector Drawings filled pixel by pixel: the shapes entelechy import reads from SVG, their fill rules, paints and gradients, drawn whole or tiled. 15 23
voxel Worlds of voxels drawn by walking rays through them: boxes of voxels placed in the world, a place shaded from the sun, shapes as data, and bodies posed by their joints. 4 21