Skip to content
Apexify.jsDocs
Apexify.js version v5.4.5

Recipes · guide

What you can build with Apexify.js

Current Apexify.js 6.0.0 documentation for What you can build with Apexify.js.

apexify.jsRuntime: nodeCURRENTSince 6.0.0

This page is an idea catalog: real products and assets people ship with ApexPainter, grouped by feature area. Use it for inspiration, then open the linked feature guide for options and examples.

Workflow: pick an outcome below → read the guide → optionally capture it as a recipe-*.mdx (see Recipes hub).

For why ApexPainter exists and when to use it, read Philosophy & goals first.


Canvas & backgrounds

You can buildPrimary APIsLearn
Branded scene bases (solid, gradient, image BG)createCanvas, background layers, patterns, noiseCanvas overview
Multi-layer “wallpaper” stacksdrawBackgroundLayers, zoom, bordersBG layers · Canvas hub
Poster / slide templatescreateCanvas + reproducible CanvasConfigBeginner → first image

Images & shapes

You can buildPrimary APIsLearn
Avatars, logos on canvas, product shotscreateImage, fit, align, cropImages overview
Badges, stickers, icons (vector shapes)createImage shape (ShapeType)Shapes reference
Filtered thumbnails (blur, sharpen, colour)createImage filtersImage filters
Masked / warped / vignette scenesmasks, distortion, effectsMask & distortion · Effects
Grouped layers (move as one)CreateImageOptions isGroupedGroups

Text

You can buildPrimary APIsLearn
Headlines, captions, multi-line blockscreateText, fonts, maxWidthText overview
Gradient / stroke / glow typographytext styling chaptersColour & gradients · Glow & stroke
Curved or path-based letteringcurved text APIsCurved text
Dynamic layouts (measure before draw)measureTextMeasure text

GIF & motion

You can buildPrimary APIsLearn
Animated banners, sticker GIFs, loaderscreateGIF, GIFInputFrameGIF overview
Programmatic frame cartoons (canvas-drawn)animate, Frame[], optional GIF fileanimate
Frame pipelines with onStart / onEndcreateGIF callbacksCallbacks · Results

Lines, paths & hit regions

You can buildPrimary APIsLearn
Connectors, arrows, dashed UI linespath2d.customLines overview
Bézier / arc geometry drawn on bitmapspath2d.create, path2d.drawPath2D
Click maps, hover zones (UI exporters)detect.path, detect.region, HitRegionHit detection

Charts

You can buildPrimary APIsLearn
Pie / donut, bar, line, scatter, radar, polar reportscreateChartCharts overview
Side-by-side comparisonscreateComparisonChartComparison charts
Bars + lines with dual axiscreateComboChartCombo charts

Video (FFmpeg)

You can buildPrimary APIsLearn
Thumbnails, frame strips, posterscreateVideo extractFrame / extractFramesFrames
Quick probes (duration, fps, resolution)createVideo getInfo or getVideoInfoMetadata · Imperative
Multi-step trim, splice, captions, music + SFXvideoPipeline()Video pipeline (advanced)
Game / UI SFX without sound filescreateAudio → mixAudio or pipelinecreateAudio (advanced)
Trim, transcode, overlays, PiP, audio mixcreateVideo branchesVideo overview · Options hub

Pixels, batch & layout utilities

You can buildPrimary APIsLearn
Colour pickers, fog/lighting tweaks on regionspixels.getData, pixels.manipulatePixel data
Sprite sheets from PNG sequence mathpixels.getColor / pixels.setColor (precision edits)Pixel data
Many canvases in parallelbatchBatch & chain
Multi-step pipelines (buffer handoff)chainBatch & chain
Filmstrips, grids of imagesimage.stitchImages, image.createCollageStitch & collage

Save, encode & disk

You can buildPrimary APIsLearn
Timestamped exports, WebP/JPEG pipelinessave, saveMultipleSave to disk
API responses (base64, data URL)new ApexPainter({ type }), outPutOutput encoding

painter.image utilities (whole files / buffers)

Operations below skip createImage composition — they run through painter.image (Raster hub, chapters 04–07).

You can buildPrimary APIsLearn
Resize / convert batchesresize, imgConverterResize & effects
Sharp-style filter stackseffectsResize & effects
Dominant colours, palettescolorAnalysis, extractPaletteResize & effects · Compress & palette
Chroma knock-out, remote BG removalimage.colorsRemover, image.removeBackgroundResize & effects
Polygon crops, multi-layer blendsimage.cropImage, image.blend, image.masking, image.gradientBlendBlend & mask

Combined builds (common stacks)

IdeaStack
Social cover (Twitter / LinkedIn)createCanvas + createImage + createText + save
Discord welcome cardCanvas + image + rich text + shadows → save or outPut
Daily chart PNG for SlackcreateChart → save or attach Buffer
Short promo GIFcreateGIF or animate → file
Product catalogue JPEGsbatch (image) + compress
Video teaser montagecreateVideo generateThumbnail or extractFrames · Video overview
Gameplay clip + generated SFXanimate or Scene → MP4, then createAudio + videoPipeline

Next steps