Ring Generator
The Ring Generator lets you design your own ring frames inside Tokenizer 2. You pick a starting design, change it until you like it, and add it to your token. Every ring is drawn on the spot, so you are never limited to a fixed set of pictures. Does it use AI? No, it is all procedurally generated from maths, using standard, well-known graphics techniques.



How it works
A ring is made from a few simple parts:
- Shape - the outline of the ring, such as a plain band, a twisted cable or flames.
- Elements - parts of other designs added to the shape, such as runes, thorns or gears.
- Materials - what each part is made of, such as gold, oak or glowing glass.
- Lights and gems - glowing details and set stones, with colour sets for allies, neutrals, enemies and magic.
- Ornaments - crests that sit on the ring, such as a crown, wings or a number badge.
- Effects - changes to the ring itself, such as battle damage, frost or a game condition.
A theme is a saved mix of all of these. Tokenizer 2 comes with lots of themes, and you can save your own.
The preview redraws a moment after each change. Nothing is saved until you press Add Frame.
Opening it
- Click an actor's portrait to open the editor.
- In the Rings panel, click Ring Generator under Ring Tools.
You can also click Design a Ring at the top of the Frame Browser.
The Ring Generator opens in its own window: the theme gallery on the left, the preview in the middle, and the controls on the right. The controls sit in folding sections, in this order: Seed, Shape & Materials, Finish and Ornaments & Effects.
Sample frames
The first time you open the Frame Browser, Tokenizer 2 offers to generate a sample set of ten ring frames for the Tokenizer tab. They are saved to the Generated Frames folder, and a set made by a GM is shown to every player. Choose No (Ask me later) to be asked again next session, or No (Don't ask me again) to stop the question. Until the set exists, the Tokenizer tab has a Generate Sample Frames button.
1. Pick a theme

Click a design in the theme gallery on the left; it stays in view, so you can switch at any time. Your saved themes come first, then any your GM has shared, then the built-in themes in groups such as Classic, Elemental and Sci-fi. Click a group's heading to fold it away.
Type in the search box to narrow the gallery by name, shape, material, ornament or style; every word you type must match. Thumbnails are drawn in the world's ring style the first time they come into view, then kept in your browser.
Pick the one closest to what you want, then change it in the sections on the right. Once you have changed a theme, its name is marked (edited), and picking another theme asks before your changes are lost. If your finish (style, wear, band width and so on) differs from the theme you pick, the Ring Generator asks whether to keep yours or use the theme's. Tick Remember my choice to stop it asking until you close the window.
Save Theme keeps your changes as a new theme, so you can use it again later.
2. Seed
The Seed reshuffles everything random in the design, such as crack patterns, star positions or flames. Type a number to get the same result again, or press the dice for a new one.
3. Shape & Materials

Shape sets the outline of the ring. Each shape has its own settings, such as how many twists a cable has or how tall flames grow. Shapes with a repeating pattern, such as scales, links or waves, also have Pattern size: above 1 there are fewer, bigger repeats. Designs with randomly placed features, like thorns or stars, have a spacing setting so they do not bunch up.
Materials sets what each part of the ring is made of. Pick a material from the list, and use the colour swatch beside it to tint it. The reset button next to each one puts it back to the theme's choice.
Lights & Gems sets the colour of the gems and glowing parts. The Ally, Neutral, Hostile and Arcane buttons apply a matching colour set in one click.
Elements

Elements add parts of other designs to the ring's shape, such as Infernal's glowing runes, Gothic Thorns' thorns or a sunburst of rays behind the ring. Put Infernal's runes on an obsidian ring, say, or gears on marble. Click Add an element... to open the chooser, which has a picture of each and a search box. Elements are grouped by the kind of design they come from, such as Arcane & Divine or Nature; pick a category on the left, or All. Show on draws every element on a plain ring of your choice, or on Your ring as it is now. Each picture starts zoomed in on where the element changes the ring most; the magnifier button switches to the whole ring and back. Some entries are another design's version of an element, listed after it, such as Fire's flames, which are a flame haze in Fire's colours.

Many built-in designs are made this way, so you can move, change or remove their parts. Infernal, for example, is the Faceted obsidian shape with runes, a flame haze and embers, and Night Sky is the Astrolabe shape with stars and constellations.
Select an element in the list to change its settings and the materials of its parts, and move, copy or remove it with the buttons beside it. A ring can have up to eight elements, drawn in list order before any effects. Glowing elements use the ring's Light colour, or one of their own set in the element's settings. Where and How much of the ring keep an element to part of the ring, such as embers along the bottom only.
To take everything a design has at once, right-click it in the theme gallery: Tokenizer 2 asks, then adds its features to your ring as elements. A design's tooltip says when it has features to lend.
When the ring is animated, many elements move too: runes pulse, embers rise, stars twinkle, gears turn and kelp waves.
Photo-textured rings
The Photo textures group in the gallery has rings made from real scanned surfaces, such as marble, castle slates or rusted iron. They use the Photo texture shape and a wider band.
Texture picks the surface: a dozen or so come with Tokenizer 2.
To use any texture from Poly Haven, press Browse Poly Haven... (or choose A Poly Haven texture... in the Texture menu), search by name, category or tag, click a texture to preview it, then press Use Texture.
You can also type a texture's id (the last part of its page address, such as castle_brick_07) in the box under the menu and press Enter.
A texture is downloaded the first time you use it, then kept in your browser (Clear downloaded textures in Your preferences forgets them).
The textures are free (CC0); the bundled ones are credited in the module's Licenses settings.
The texture settings adjust how it sits on the ring:
- Texture detail smooths it toward its average colour, for a calmer surface.
- Times round the ring repeats it that many times round the ring; at 0 it is drawn at its real size on a Medium token.
- Texture position (round) and (across) slide which part of it shows.
- Texture saturation, Texture contrast and Texture brightness adjust its colours.
- Fine relief only drops its broad rises and falls and keeps its fine detail.
- Texture scale draws it larger or smaller, and Turn texture turns it a quarter, so planks run round the ring instead of across it.
The shape settings give the ring its form:
- Cross-section - rounded, flat, bevelled, stepped, recessed or moulded; a stepped ring's Inner rim share sets how much of the band the rim takes.
- Relief raises the texture's bumps, and Invert relief turns them upside down, for a texture whose mortar comes out raised.
- Rough edge lets the ring's edge follow the relief, for an uneven outline.
- Joints fills the texture's low seams with a material of its own, such as mortar, set in the Joints row under Materials.
- Moss grows tufts of moss wherever the texture is green, in the Moss row's material.
- Cast shadows and Hollow shading set how dark the relief's shadows and hollows are.
- Carved rim adds a rounded rim along one or both edges, and Rim width sets its size.
- Blocks divides the ring into that many blocks (0 for none).
- Glow In the seams lights the lowest seams (lava between stones) in the ring's light colour; Glow depth, Glow heat, Glow variety and Glow softness shape that light.
Everything else the photo rings have is an element, so any ring can have it (see Elements), such as kintsugi gold inlay, cracks of light, metal fittings or a vignette that fades the ring's inner edge into the token art. Photo rings you saved with these as settings open with them as elements.
Any ring's materials can use a photo texture too: pick one under Photo texture in a material's list, and use the colour swatch to tint it.
4. Finish

Style draws the ring to match your token art. Realistic is shaded metal, stone and wood; other styles include Cartoon, Pixel art, Line art (ShadowDark) for black and white tokens, Watercolour, Embroidered patch and Blueprint.



Most styles have settings of their own under the Style menu, such as Ink and Paper colours, the spacing of hatching or halftone dots, or Pixel size. Settings you leave alone follow the style, and the reset button under them goes back to the world's settings. They are saved with your themes and frames.

A GM can choose which style the generator starts on, and its settings, in the module settings. To draw your token art in the same style as its ring, use Ring Style in the left panel's Layer Effects section.
The other settings fine-tune the look:
- Wear adds scratches, tarnish and grime.
- Band width makes the ring thicker or thinner, up to 150%, or 300% for a photo ring.
- Glow colour sets how much colour the glowing parts keep.
- Edge gap sets the space between the ring and the edge of the image.
- Drop shadow adds a soft shadow under the ring.
- Light direction turns the light round the ring, and the highlights, shading and shadows follow it.
- Hue, Saturation and Lightness recolour the whole finished ring.
Animated rings


Some designs can move, as can any design with a sunburst, coloured gems or moving elements. For these, the Finish section shows Animate. Tick it and the preview plays a short loop once its frames are drawn.
To see only these designs, tick Show animated only under the theme gallery. The gallery then keeps the designs that move, and whichever you pick is animated.
Animation speed sets how fast it moves, from 25% to 200%. A loop lasts two seconds at 100% (longer for a few designs, such as the wave), and a slower speed makes a longer loop and a larger file. Some animations have settings of their own, shown under the speed.
Add Frame then makes a looping .webm video instead of a still picture.
This can take up to half a minute, or longer for a slow animation, and the button counts up as it goes.
A token with an animated frame saves as a looping .webm video and plays on the map.
Animation needs the Realistic style: with another style, Animate is greyed out. Animated frames can't be dynamic rings, since Foundry draws those from still pictures.
5. Ornaments & Effects

A ring can wear up to eight ornaments. Click Add an ornament... to open the ornament chooser. Pick by what it means (Quick pick, such as Boss, Elite or Tier 1 to 5), by kind and look (crests, emblems, creatures, wax seals, helmets and more), by army rank (Ranks (Army)), the world's own (Custom), or Your image for your own picture. Type in the search box to narrow the tiles down, for example "helmet" or "glowing"; Enter picks the first one shown, and Escape closes the chooser. The list on the left shows one section at a time, or All; the element and effect choosers work the same way.

Click an ornament in the list to change it:
- Change opens the chooser to make it another kind or look, keeping its place and settings where they still apply.
- Save as custom ornament (GM only) keeps it, as it is, among the world's custom ornaments, listed under Custom in the chooser and offered to the ornament rules.
- Position places it at the top, bottom, a corner, or any angle you like.
- Depth sets it lower into the ring, or above it with a value below zero.
- Rotation, Keep upright and Line (straight, or following the ring's curve) change how it sits. Type a rotation in the box beside its slider, or turn it 45° at a time with the buttons either side.
- Materials gives the ornament its own metal and inlay colour.
Copies repeats an ornament, and every copy changes when you edit it:
- Flip draws it mirrored.
- Mirror across the ring adds its mirror image on the other side, for pairs such as wings.
- Repeat draws up to twelve copies, and Spread sets how many degrees they spread across (360 for evenly all round).
A ring draws at most 32 ornaments, copies included.
The buttons beside each ornament move it up or down, duplicate it, or remove it. Ornaments lower in the list are drawn over the ones above them. Duplicate an ornament when you want a copy you can change on its own, such as a second wing in another metal.
Your image can keep its own colours, or be embossed in a material such as gold.
See Ornaments and Number Badges for every ornament.

Further down the same section, Effects change the ring itself. Click Add an effect... to open a chooser like the ornaments'. Frame effects make the ring look damaged, frozen or burning, among others; conditions draw a game condition onto the ring, such as frightened or grappled.

A ring can carry up to eight effects, applied in list order, and moved, duplicated and removed as ornaments are.
See Conditions on Tokens for every condition.
See it on your token

When you open the Ring Generator from the editor, tick Show token image above the preview to see the ring over the token you are editing. The token is shown without its current frame or ring, masked by the new ring as it would be on a new token.
Add it to your token
When you are happy, press Add Frame and give the frame a name; the Frame Browser lists it under that name. Tokenizer 2 draws the ring at full size, saves it in your Generated Frames folder, adds it to your token as a frame layer, and closes the window. The layers beneath it are masked to the ring's window, or to your world's default mask, as on a new token.

The new frame also appears in the Custom tab of the Frame Browser, so you can use it on other tokens.
When the Ring Generator was opened without a token (from the Dynamic Rings window, say), the button reads Save Frame and only keeps the frame in your Custom frames.
Change a frame you made
Every frame you add remembers how it was made. In the Frame Browser, hover over one of your generated frames and click the pencil in its bottom-left corner (Edit in Ring Generator). The Ring Generator opens with that frame's design and finish, ready to change. Reset goes back to the frame as you made it.

When you are done, you have two choices:
- Add Frame keeps the old frame and adds the changed one next to it.
- Replace Frame puts the changed one in the old frame's place, in your Custom frames, Favorites and Recent.
Either way the old image file is kept, so tokens already using it do not change. Replace Frame only shows for frames in your own Custom frames; a GM can also replace frames they shared. The sample frames on the Tokenizer tab can be opened too, but only added as new frames.
To change a frame already on your token, right-click its layer and choose Edit in Ring Generator. The frame you add or replace takes that layer's place, at the same size, and masks cut to the old frame follow the new one.
The Ring Generator keeps an added or replaced frame open as the one you are working on, so you can carry on next time. Picking a theme in the gallery starts a new design.
Frames shared by a GM keep their design too, so players can make their own versions. Frames made before this feature, or added with Browse Files, cannot be reopened.
Make it a dynamic ring
A GM can turn the ring into one of Foundry's own dynamic token rings with Dynamic Ring, next to Add Frame. The window then edits that ring: the preview shows it as Foundry draws it, and an In Foundry section appears for its name, colouring and background. Press Update Dynamic Ring to save your changes. A player's button reads Export Dynamic Ring and downloads the design for a GM to import. See Dynamic Rings.
Rings that reach past the token
Some designs reach past the ring itself, such as flames, thorns, dragon horns or some ornaments. These are drawn on a larger canvas and shown 1.25 times the size of other frames, so the ring still lines up. Steam pipes need the most room for their rising vapour, and are shown in full on a 2x Oversized token.
The preview shows the token's edge as a dashed line. On a normal token, anything past that line is cut off; turn on Oversized in the editor to let it spill out onto the map.
Sharing themes
Your saved themes are kept in your browser. A GM can Share a theme, and shared themes appear in everyone's theme gallery.
What techniques though?
- Signed distance functions for shapes (rounded boxes, triangles, ellipses, segments), including formulas widely popularised by Inigo Quilez's articles.
- Value noise with fractal Brownian motion for textures, wear and grime masks.
- Height-field shading: normals from gradients, a Blinn-Phong-style specular term, and a simple studio environment approximation for metal reflections.
- Exponential tonemapping, plus an exact inverse for the stylised modes.
- Jittered-grid Voronoi for hammered metal, lava, ice, stained glass and cracks.
- Photo textures wrapped round the ring in polar coordinates, repeating a whole number of times so there is no seam, with their displacement maps as relief and cast shadows marched across the height field.
- Midpoint displacement for lightning and cracks, and recursive branching for roots, coral and branches.
- Euclidean distance transforms for rounded relief on drawn shapes.
- Conventional non-photoreal methods: quantised cel lighting, edge-detected outlines, hatching, and pixel-art downsampling.
- Print and paint looks: noise-warped woodcut lines, rotated halftone dot screens, and watercolour washes with displaced edges and pigment pooling.
- Craft looks: height quantised into paper sheets, spot-ink separations solved by least squares then dithered, satin stitches running per colour area, charcoal deposited on a paper-tooth texture, and Voronoi mosaic tiles.