[READ-ONLY] Mirror of https://github.com/flo-bit/shapecraft. flo-bit.dev/shapecraft/
0

Configure Feed

Select the types of activity you want to include in your feed.

shapecraft / src / index.ts
2.0 kB 45 lines
1// Core 2export { Mesh } from './core/mesh' 3export type { Vec2, Vec3, Vec4, ColorInput, ColorFn, DisplaceFn, WarpFn, NoiseLike } from './core/types' 4 5// Primitives 6export { box, sphere, cylinder, plane, cone, torus, icosphere } from './primitives' 7 8// Operations 9export { merge, center, clone, loft, tube, thicken, snow } from './ops' 10export type { SnowOptions } from './ops' 11 12// Modifiers 13export { twist, bend, taper } from './modifiers' 14export { smooth } from './modifiers/smooth' 15 16// Color 17export { gradient, heightGradient, normalGradient, lerpColor, parseColorToRgb, hexToRgb, rgbToHex } from './color' 18export { pickRandom, paletteGradient, axisGradient, noiseColor, varyColor, type Palette } from './color' 19 20// UV 21export { projectUVs } from './uv' 22 23// Utilities 24export { createRng } from './core/rng' 25export type { Rng } from './core/rng' 26export { scatterOnSphere } from './core/scatter' 27 28// Build — composable model primitives 29export { setup, trunk, foliageBlob, facetShade, heightShade, scatterOnSurface, blade, branches } from './build' 30export type { TrunkOptions, FoliageBlobOptions, FacetShadeOptions, SurfacePoint, ScatterOnSurfaceOptions, BladeOptions, BranchesOptions, BranchResult, BranchTip } from './build' 31 32// Schema & options 33export { resolveOptions } from './core/schema' 34export type { OptionSchema, OptionDef, OptionValues, OptionInput, Randomizable } from './core/schema' 35 36// Generators 37export { tree, treeSchema, treePresets } from './generators' 38export { pine, pineSchema, pinePresets } from './generators' 39export { palm, palmSchema, palmPresets } from './generators' 40export { bush, bushSchema, bushPresets } from './generators' 41export { grass, grassSchema, grassPresets } from './generators' 42export { fern, fernSchema, fernPresets } from './generators' 43export { flower, flowerSchema, flowerPresets } from './generators' 44export { deadTree, deadTreeSchema, deadTreePresets } from './generators' 45export { rock, rockSchema, rockPresets } from './generators'