Updated
Pen Plotter
ProCustomize
Color
flow
Spacing9.0px
Scale1.00
Curl1.00
Weight1.00
Variation0.60
Duration9.0s
Wave10.0px
Glints0.35
Flow1.0
Wave size1.00
Sheen1.00
Speed1.0
Seed0
Grain0.035
Radius110px
Strength1.00
Installation
ProPen Plotter is a Pro component
Sign in to see the source, or install it with a license key. The live preview and props above are free to explore.
Install with a key
- Add the Pro registry to
components.json:components.json { "registries": { "@uibrik-pro": { "url": "https://uibrik.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${UIBRIK_LICENSE}" } } } } - Put your key in
.env.localand add that file to.gitignore:.env.local UIBRIK_LICENSE=your-license-key - Install it:
Terminal npx shadcn@latest add @uibrik-pro/pen-plotter
Loading your installation…
Usage
import { PenPlotter } from "@/components/uibrik/pen-plotter/pen-plotter";<PenPlotter color="#1f3fbf" field="flow" spacing={9} scale={1} curl={1} weight={1} variation={0.6} duration={9} wave={10} glints={0.35} flow={1} waveScale={1} sheen={1} speed={1} seed={0} grain={0.035} animate interactive radius={110} strength={1} // background="…" // maxFps={0}> …</PenPlotter>Where to use Pen Plotter
Studios and portfolios
A generative print drawn live gives a design or creative studio page a crafted, analogue feel.
Hero intros that settle
It draws for a few seconds and then stays still, so the motion never competes with the copy.
Pairs with Topographic Lines
Print and stationery shops
Evenly spaced ink lines on paper grain suit paper goods, posters and risograph shops.
Props
PenPlotter- color
- Type string
- "#1f3fbf"
- Colour of the ink; drawn in shades of it.
- colors
- Type string[]
- ["#1d1d1b","#e4572e","#29335c","#f3a712","#4f9d69"]
- Hex colours, 2 to 6: separate inks, each zone of the page drawn in one of them. Overrides color.
- field
- Type "flow" | "waves" | "vortex" | "spiral"
- "flow"
- The shape of the field the lines follow.
- spacing
- Type number
- 9
- Space between neighbouring lines.
- scale
- Type number
- 1
- Size of the field's features; larger is broader and calmer.
- curl
- Type number
- 1
- How strongly the field turns and swirls.
- weight
- Type number
- 1
- Line width, relative to about 1 px.
- variation
- Type number
- 0.6
- One colour: how many of its shades the pens use. Several: 0 uses only the first ink, higher breaks the page into smaller zones of each.
- duration
- Type number
- 9
- Seconds to plot the whole page.
- wave
- Type number
- 10
- Height of the folds the sheet moves in; 0 holds it flat.
- glints
- Type number
- 0.35
- Share of the lines carrying a glint of light that runs along them.
- flow
- Type number
- 1
- Speed of the glints.
- waveScale
- Type number
- 1
- Size of the folds; larger is broader.
- sheen
- Type number
- 1
- How strongly the folds catch the light, on the lines and the paper.
- speed
- Type number
- 1
- Animation speed; 1 is the designed pace.
- seed
- Type number
- 0
- Which composition to draw.
- grain
- Type number
- 0.035
- Paper grain strength.
- animate
- Type boolean
- true
- Plot the page and keep the sheet moving. Off shows the finished print, still.
- interactive
- Type boolean
- true
- The pointer brushes the lines the way it moves, and a click sends a wave across the sheet.
- radius
- Type number
- 110
- Width of the brush.
- strength
- Type number
- 1
- How far the brush sweeps the lines, and how strong a click's wave is.
- background
- Type string
- –
- Paper colour; empty follows the page.
- maxFps
- Type number
- 60
- Most frames drawn per second.
- children
- Type ReactNode
- –
- Content shown on top of the background.
- className
- Type string
- –
- Classes for the box; it fills whatever size you give it.