← Back to DAGDA | Support | Source: https://github.com/funkatron/petscii-graphics-lab
Skip to content

Latest commit

 

History

356 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PETSCII Graphics Lab

Draw with Commodore 64 character graphics using a finger or mouse.

Open the editor — it runs in your browser. No installation or extra glyph download is needed.

Verified on real Commodore hardware

In November 2026, an animation exported from PETSCII Graphics Lab as a Commodore 64 PRG was written to a physical floppy disk and successfully loaded and displayed on a Commodore 128 in C64 compatibility mode, using a Commodore 1541 disk drive and a Magnavox CRT monitor.

Verified path: Browser editor → C64 PRG export → physical floppy → 1541 → C128 in C64 mode → CRT.

The recorded demonstration shows graphics and animation changing on the CRT. It does not independently establish exact frame timing, byte-for-byte readback integrity, or successful execution on a standalone C64.

A short animated GIF from the hardware recording can be added here when its final version is ready. The original footage should be retained as primary evidence.

See real-hardware validation notes for the procedure, observations, and limitations.

For faster physical-floppy iterations, see the ZoomFloppy quick-transfer guide.

Draw your first picture

  1. Open Glyphs and choose a shape. A glyph is one 8×8 character image.
  2. Tap Ink and choose a color from the floating palette.
  3. If settings cover the canvas, tap ☰ to hide them. Drag across the canvas to draw.
  4. Use Undo to reverse your last stroke. Use Redo to restore it.
  5. Choose Project → Download editable project to keep a file you can edit later.

To share a picture instead, choose Download artwork → Image → Download PNG.

Find a control

The drawing strip stays visible when settings are hidden. Tap ☰ to show or hide editor settings and give the canvas more space.

Controls are grouped like an application: Machine (system host) · Project (editable file) · Download / Play (outputs and preview) · strip tools · sidebar editor settings.

You want to… Use
Choose the host computer or VIC display look Machine
Choose a shape Glyphs
Change the brush color Ink
Draw or erase Paint / Eraser
Type letters and numbers Text
Repeat strokes across an axis Symmetry
Reverse or restore an edit Undo / Redo
Change canvas dimensions ☰ → Canvas setup
Change the shared background ☰ → Colors → Background
Choose an animation ☰ → Animation (or Play, then open Animation settings)
Keep or open editable artwork Project
Open a pasted or .txt glyph grid Project → Open text grid, or paste under Download artwork → Raw bytes & text
Download a still, animation, or native program Download artwork

Choose glyphs

The editor combines both authentic C64 source character sets in one palette. Show letters & numbers starts off, hiding letters and digits in both normal and inverse forms. Turn it on to see uppercase and lowercase together, alongside the full graphics palette. Symbols, punctuation, blank space, and graphic shapes remain available. The authentic solid block (ID 160) is included under Blocks.

The default Browse glyphs → Grouped by shape view brings similar shapes together across screen-code pages: Blocks, Lines, Corners, Diagonals, Symbols, then Other symbols. Corresponding inverse shapes sit beside each other.

Choose one shape family, Recently used, or Favorites to narrow the view. Use Show letters & numbers to include them; in Grouped by shape, they appear in their own section. This filter also applies to Recently used and Favorites. Tap ☆ to add the selected glyph to Favorites. Favorites and recent selections are stored on this device.

On wide screens, the picker sits beside the canvas. On smaller screens, it appears over the canvas and closes after selection. Pin keeps it beside the canvas where space allows. Close it with ✕, Escape, or the shaded area outside the picker.

There is no character-set switch or separate lowercase option. Selecting a letter never changes shapes already in your drawing. The palette hides redundant source-bank copies while keeping inverse pairs together.

Open Character options for optional code labels and glyph-source details.

Choose either member of a light/dark pair directly from the palette. Both remain available with letters hidden, including the blank/solid-block pair. There is no separate Inverse button. The editor preserves the actual C64 inverse glyphs.

The letter toggle changes browsing only. Opening a project or using Undo preserves its artwork without turning the toggle on. If the current brush is outside the view, a notice explains how to find it. The toggle starts off again when the editor reloads.

Glyph codes are hidden by default. Turn on Character options → Show glyph codes (hex) to display hexadecimal labels. The setting stays on this device. You can draw without learning those numbers. See C64 terms and data when you need them.

Draw, color, and resize

Drawing tools

The compact drawing strip uses familiar tool icons with accessible names. The selected tool is highlighted. Undo and Redo stay together. Tap the question mark for drawing instructions.

Paint, Pick and Fill keep their own icon. When you choose an option other than the first one, a small badge appears in the button's corner: a square for Glyph only, a drop for Ink only, a bar for Background. The line under the canvas always starts with the tool name, then the option, ink and action — for example, Paint · Ink only · Light blue · Drag to draw.

Tool Action
Paint Open the menu · Glyph and ink / Glyph only / Ink only · drag to draw
Eraser Drag to remove cells
Pick Open the menu · Ink / Glyph / Background · tap a cell to copy that value to the brush or shared background
Fill Open the menu · Glyph + ink / Glyph only / Ink only · tap a connected region; empty regions ignore ink when matching
Line / Rectangle Drag to preview a straight line or outlined rectangle; release to apply
Select Drag a rectangular marquee, then drag inside it to move the region
Text Tap a starting cell, type, then choose Apply text
Duplicate Select a region, choose Duplicate, then drag inside it to place a copy
Delete Remove the selected region

Each completed drawing operation is one Undo step. Escape or an interrupted pointer gesture cancels a shape preview. Deselect clears the marquee. Moves preserve empty cells as well as artwork; duplicates and stamps treat empty cells as transparent. Placement stays within the canvas.

Stamps have been removed; use Select and Duplicate to repeat artwork. Old device-local stamp data is left untouched. The canvas is read-only during animation preview.

For lines, rectangles and selections, enable Tap endpoints to mark two points instead of dragging. Move and Duplicate accept a tap on the destination. On a focused canvas, use arrow keys to position the cursor and Enter to draw or mark endpoints. Cancel and Escape abandon unfinished operations. Undo preserves the active tool.

Optional explanations are available through compact question marks beside section headings. Selection actions sit in a reserved strip below the canvas, keeping artwork uncovered. Help supports keyboard activation, Close and Escape. Portrait iPad settings start closed to leave more canvas space.

The C64 download panel checks readiness before downloading: dimensions, distinct patterns, program memory and estimated update time. PRG and D64 share the same limits. When playback is too demanding, a longer loop is offered only after the exporter accepts that candidate. Applying it is undoable. When needed, the exporter tries a faster row renderer while preserving the sampled frames and requested speed. If timing is the remaining blocker, check Download despite timing warning to try the animation anyway. The warning stays visible; memory and artwork limits still apply. Changing the artwork or animation settings clears this choice. These estimates do not guarantee smooth physical-hardware playback; broader capacity validation remains on the roadmap.

Shortcuts

Do this Result
Tap with two fingers Undo
Hold Option (Mac) or Alt Pick from the canvas; release to return to your tool
Hold Space and drag (zoomed in) Move around the canvas without drawing
⌘Z / Ctrl+Z, ⇧⌘Z / Ctrl+Y Undo / Redo

Type letters and numbers

  1. Choose Text (the T icon), then tap a starting cell on the canvas.
  2. Type in Text to place using the on-screen or physical keyboard. On a tablet or computer it is a one-line box under the canvas; Return still starts a new line. The canvas previews the C64 glyphs. Tap another cell to reposition the draft.
  3. Choose Apply text to place the whole draft as one undoable edit, or Cancel text to discard it.

Uppercase, lowercase, digits and spaces use authentic C64 glyphs and the current brush ink. Typing does not enable Show letters & numbers in the palette. Spaces overwrite cells with the C64 space glyph.

For keyboard-only placement, focus the canvas, use arrow keys to position the starting cell, then press Enter to focus text entry.

Enter starts a new line at the starting column. Long lines wrap at the canvas’s right edge and continue from that column. Use normal text selection, Backspace and Delete to correct the draft. Ctrl/Command + Enter applies it; Escape cancels it.

Common punctuation from ! through ?, plus @, [ and ], is supported. Other characters, including accented letters, emoji, backslash and underscore, show an error. Text that extends below the canvas also shows an error. Correct or reposition the draft before applying; the editor does not silently drop characters.

Drafts are excluded from downloads and automatic saves. Switching drawing tools, applying another artwork edit, opening a project, or starting animation discards the draft. Choose Apply text first to keep it. Text is unavailable during read-only animation preview.

Change colors

Ink opens a small palette beside the drawing controls, without opening settings. Choose a swatch to select it and close the palette; use Escape, ✕, or tap outside to dismiss it. The canvas remains active when you tap outside.

Each painted cell keeps its own Ink color. Changing the brush affects future strokes. Paint over a cell to give it the current glyph and ink.

Paint and Eraser consistently select their named tools, even when tapped again. The text beneath the canvas identifies the current tool.

The Background color is shared by the whole canvas.

Control What changes
Ink (drawing strip) Brush color for future strokes
☰ → Colors → Background Shared canvas background
Swap brush / background (same section) Those two settings; existing cell ink stays the same
Canvas (drawing strip, beside Undo) Recolor with current brush ink, Replace ink, Replace glyph, Border, Checkerboard, and Clear drawing; one undo per action. With a selection, Recolor and Replace change only the selected cells. To ink starts as your brush ink, and the line under the swatches names both colors. Tap ? in the panel for details.

The 16 colors use the Pepto PAL palette, an RGB approximation of C64 color. The default is Light blue ink on Blue. Glyph thumbnails stay white on black so their shapes remain visible at any brush color.

Repeat a stroke or change the whole drawing

Symmetry lives in the bar above the canvas (with zoom and guides). It places the selected glyph in matching cell positions across the chosen axis. Symmetry is available when Paint or Eraser is active.

By default every copy repeats the same glyph. To make copies look truly reflected:

  1. Open Symmetry and choose an axis.
  2. Turn on Mirror glyph shapes.

Each copy now uses the glyph whose pixels are the reflection of your brush glyph. For example, a lower-right triangle becomes a lower-left triangle in the left/right copy. Glyphs without a reflected partner, such as most letters, stay as they are. The checkbox is dimmed while Symmetry is Off, and the setting is saved with the project.

Canvas setup groups dimensions and staged resizing under Canvas size. The drawing strip Canvas control (after Ink) opens whole-grid tools. The bar above the canvas also offers editor zoom (fit through 300%), Grid (center guides) for the middle column and row when working with symmetry, and Tap endpoints when line, rectangle, select, move, or duplicate tools are active; zoom and guides affect the editor only, not PNG/SVG/animation exports. Hold Ctrl or ⌘ and scroll on the canvas to step zoom. When zoomed in, two-finger drag on the canvas pans; one finger still paints or erases. Colors keeps brush, background, swap, and screen look only.

Resize the canvas

  1. Open Canvas setup.
  2. Choose Columns and Rows. Each can be 1–40; a standard C64 screen is 40×25.
  3. Inspect the preview and its count of painted cells that will be cropped.
  4. Choose Apply size, or Cancel to keep the current size.

Resizing keeps the overlapping artwork at the top left. Applying both dimensions is one undoable edit, including any cropped cells.

Keep an editable project

Project → Save editable project offers the saving action supported by your browser. It saves a JSON project file containing the drawing, cell colors, animation settings, and drawing replay. Use Open project to resume editing on this or another device.

The Project menu separates Save editable project from Open artwork. Only one save action appears: Share / Save project when native file sharing is supported, otherwise Download editable project. Both produce editable JSON files.

Project → New Project starts a blank 16 × 16 drawing with default colors and animation settings. If you have artwork, replay or unplaced text, confirm before replacing the automatic draft. Save an editable project first to keep a separate copy. Undo restores the previous drawing and settings; names stay outside drawing history.

Project → Project name starts with two words: an adjective followed by a noun, such as electric-raven, picked from a large built-in word pool so casual regeneration is unlikely to repeat. Edit it freely, or tap the refresh icon beside it to generate another name without changing your drawing. The name is saved in editable JSON project files and in this browser’s autosave draft; opening a project restores its name. Every download uses this name: editable JSON, SVG, PNG, text, binary data, GIF, video, frame ZIP and C64 PRG/D64. Animation downloads append movement, color, and backdrop effect ids (for example scroll-x_color-wave with _ between effect ids), then pixel dimensions. A cycle count above one trip is added on that effect, as in scroll-y-4x_color-cycle-8x. One trip is left unmarked. Native programs and disks also include the machine slug (c64, c128, c128-80, plus4) and grid size. Characters unsuitable for filenames are replaced with underscores; trailing dots and spaces are removed. An empty name must be corrected before exporting.

Names are an export preference for the current page session, not part of the v3 drawing file or automatic draft. Renaming affects subsequent downloads; an export already running keeps the name captured when it started. A frame ZIP keeps its standard internal project.json, timing.json and numbered frame paths.

On devices that support file sharing, Project → Share / Save project opens the native share sheet. On iPad, choose Save to Files and select a folder. This is the saving action shown on supported devices. Canceling leaves your artwork unchanged. Download status means the browser received the request; check Downloads or Files to confirm the file was saved.

Project → Open text grid opens a .txt glyph-grid file downloaded from the editor. It detects glyph-only or color text automatically, replaces the drawing, and supports Undo. Color text restores cell inks and background; glyph-only text uses the current brush ink and keeps the background. Text grids omit animation settings and replay; use an editable project to preserve those. Invalid files leave your work unchanged.

Project → Reference image… places a semi-transparent PNG or JPEG over the canvas for tracing. Adjust opacity, then Apply as import to sample the image into glyphs and inks. The result is approximate (16 colors, one glyph per cell, no sub-pixel fidelity), one undo step, and not saved as a layer in the project file. Remove overlay dismisses the image without changing art.

The editor also keeps one automatic draft on this device. Look for Saved on this device. If saving fails, the editor shows a backup notice.

  • Download an editable project before clearing browser storage or changing devices. Browser storage may be cleared or unavailable, including in private browsing.
  • Undo history lasts for the current session; it is not included in the project file.
  • If several tabs edit the draft, the last tab to save replaces it.

The editor opens version 3 projects containing numeric glyph IDs across both source banks. Older projects, including version 2, are unsupported; this early-development format change has no migration. The new automatic draft is separate from the old one. Project files store glyph IDs and settings, without the ROM binary.

Preview an animation

Controls are grouped into Timeline & preview, Movement, Color, and Backdrop. Related wave options sit side by side; options appear only for the selected effect. Duration, movement/color/backdrop cycles and playback are together at the top. Movement, Color, and Backdrop stack: glyphs move, cell inks change, and the shared background can step independently. Direction pairs with waveform; wavelength pairs with height.

  1. Open ☰ → Animation.
  2. Open Animation glossary in that section for a short primer on generated frames, cycles, and exports.
  3. Choose Movement and Color animation independently. For example, combine Scroll horizontally with Rainbow wave. Use Still drawing for color alone, or Original colors for movement alone.
  4. Set the direction and waveform controls that appear for your selected effects.
  5. Choose Loop duration, the length of the complete timeline: half a second to 12 seconds.
  6. Set Movement cycles per loop and Color cycles per loop independently from 1× through 16× (1, 2, 3, 4, 5, 6, 8, 10, 12, 14, 16). More cycles make that effect faster without changing the overall loop duration.
  7. Press ▶ in the header to play.

❚❚ (the same header button) holds the current preview frame. Return to drawing, in the bar above the canvas, restores the original artwork and colors. The preview names the effect and shows when it is paused.

The canvas is read-only during playback and while paused. All drawing tools are dimmed and unavailable until you choose Return to drawing. Other edits, such as choosing a new ink, Undo or a Canvas action, return to drawing first; the status message says Returned to drawing. Playback pauses when the browser tab is hidden and stays stopped when a project is reopened.

Effect What you see
Still drawing / Original colors Disable movement or color animation independently.
Replay drawing Paint, erase, and repaint actions appear in recorded order. The finished picture holds for the last quarter of each cycle.
Scroll The drawing wraps around in any of eight directions. Choose Scroll direction. Diagonal movement crosses one canvas width and height per cycle, following the canvas diagonal. A C64 or C128 40-column program glides one pixel at a time when color is Original colors and backdrop is off, and each step lasts long enough for the glide. A faster loop hops four pixels. Every step in the loop stays on screen for the same number of television frames, so the glide does not hesitate. One trip of a 12-second loop runs for about 12.8 seconds on the C64. Four trips of that loop still glide one pixel. The character move starts in the bottom border. Up left and down right copy color in one pass, so a 16×16 picture in those directions uses this player too. A picture whose color move does not fit that blank stays on the whole-cell program, as do the fastest loops, color animation, and backdrop. The GIF still steps whole cells.
Wave rows / columns Rows or columns shift in a repeating wave. Choose its travel direction and waveform. On a diagonal, cells shift sideways across that diagonal.
Diagonal wave Cells slide along a diagonal. Direction is Up left, Up right, Down left, or Down right. Bands bunch and spread as they pass. Waveform, Wavelength, and Height shape the slide. Glyphs and their inks move together. C64 programs play the same frames as the GIF.
Column wave (DYCP-style) Scroll left or right while bending each column vertically (classic DYCP-style motion on this grid). Waveform, wavelength and height shape the bend. Stack any Color animation like Scroll or Sine scroller. C64 procedural PRGs need Original colors and no backdrop; otherwise export uses the sampled-frame player.
Row blinds (FLD-style) Open and close blank gaps between your rows (stylized blinds, not hardware badlines). Height sets maximum gap depth; wavelength staggers gaps. Same color-combo and C64 rules as Column wave.
Ripple Waves radiate from the canvas center, shifting glyphs and their inks. Choose waveform, wavelength and height in Movement. The center stays fixed; edges can move out of view.
Sine scroller Scroll the whole drawing while bending it along a sine wave. Choose any of eight directions. Diagonal travel crosses one canvas width and height per cycle, bending perpendicular to that path. Movement → Height controls the bend; Wavelength controls its spacing. Glyphs and their inks move together.
Bouncing logo Move the occupied part of the drawing around the canvas. Leave empty margins for travel. Movement → Travel sets how far it moves.
Stretching logo Squeeze and release the occupied area horizontally and vertically. Movement → Squeeze sets the amount. Whole C64 glyphs stay intact; shrinking can skip cells.
Perspective floor Repeat the drawing through depth. Still horizon keeps the top of the picture as you drew it: top edge, 1/8, 1/4, 3/8, or 1/2 of its height. The floor starts under that line and repeats the rows below it. Leave those top rows empty for open sky.
Curved road Texture a widening road with looping bends; the sides stay empty.
Tunnel flight Wrap artwork around a tunnel and move through its depth; the central opening stays empty.
Rotating cube Wrap the drawing around six faces of a tumbling cube.
Spinning globe Wrap the drawing around a tilted rotating sphere.
Rolling drum Roll the drawing around a cylinder with textured end caps.
Space warp Sparse glyphs approach or recede through depth. Choose Depth travel; near glyphs cover distant ones. Glyphs stay whole. Objects can pop as their depth wraps.
Parallax Move each ink, or each glyph, as its own layer. Direction uses the eight scroll directions. Spread holds the lowest group and lets later groups travel 1, 2, or 4 extra cells, or Together moves them as one. Opposite reverses every other layer. Two line glyphs make a moiré. A two-ink checker makes a chessboard. Empty cells stay put.
Patterned wipe Reveal, hold, then hide the drawing. Choose Wipe direction and a Diagonal, Checkerboard or Blinds pattern.
Plasma field Intersecting color waves flow across occupied cells. Color → Direction, Waveform, Height and Cycles / loop shape the field; Sine is the starting waveform. Glyphs and the shared background stay unchanged.
Raster-style bars Blue/cyan/white bands move across occupied cells. Color → Direction, Waveform and Height shape the bands. Empty cells and the shared background stay unchanged.
Inverse pulse Under Color animation: glyphs alternate with their inverse slots. Stacks with movement (for example Scroll + Inverse pulse).
Color cycle Each cell cycles through all 16 inks, starting with its original color.
Rainbow wave Bands of eight C64 colors change the ink. Choose a cardinal or diagonal direction and a waveform. Glyphs remain stationary with Still drawing.
Bonfire Build rising, tapering flames using the drawing’s glyphs and inks as texture. Even one painted cell supplies the texture; empty drawings stay empty. Pair with Bonfire colors for a fire palette.
Bonfire colors Apply flickering brown/red/orange tips and yellow-white cores to occupied cells. Works independently of movement; the shared background stays fixed.
Warm glow Ink moves through brown, orange, red, light red, yellow, and white, then back.
Backdrop Paints the paper behind glyphs with any ramp except Backdrop and Inverse pulse: color cycle, warm glow, rainbow wave, raster-style bars, plasma field, or bonfire colors. Wave direction, Waveform, Wavelength, and Wave height shape those bands and are independent of Color wave controls, so stacked cell and backdrop waves do not share one knob. Play direction is forward or reverse along the ramp. Border lead can match the background or sit 1, 2, or 4 steps ahead of the hardware background register on VIC and TED. On a C64 or C128 40-column animation, the border and the background can change in eight bands down the screen. If that program does not fit, the download keeps the whole-frame player. On C128 80-column the border matches the background. Cell glyphs and inks stay as the movement effect left them.

Movement carries each cell’s ink with its glyph. Color animation then changes the resulting ink; Rainbow wave uses the cell’s new position. Backdrop steps the shared background (and border lead on VIC) on its own cycle rate, and can run together with movement and cell color. Still-image downloads use the original drawing, even when an animation is paused.

For example, an 8-second loop with 4× movement and 8× color repeats movement every 2 seconds and color every 1 second. Both return to their starting phase at the loop boundary. Video repetitions still count complete 8-second loops.

Faster rates use fewer intermediate positions or colors per cycle. Increase loop duration for more detail. Very short loops cannot represent every high cycle rate reliably. If a warning appears, increase Loop duration or reduce cycles. Preview and animation downloads wait for a supported combination instead of silently skipping whole cycles. Repeated replay completes and holds the finished drawing within each cycle.

Try the intro effects

For Bouncing logo, draw a small logo with empty space around it. Playback centers its travel within the canvas; a full-canvas drawing has no room to move. Travel ranges from 10% to 100% of the available space.

Stretching logo keeps the occupied area in its original position. At 100% Squeeze, it shrinks to about half width and half height at different points in the loop. At 10%, the change is small. It resamples whole cells, so small details can disappear temporarily and narrow artwork may look unchanged.

For Starfield, scatter small glyphs across the canvas. The effect uses those glyphs and their inks as stars, with three wrapping depth layers. Each layer completes one, two or three crossings per movement cycle. It uses your artwork rather than adding random stars.

Patterned wipe starts hidden, reveals the complete drawing, holds it, then hides it again. Wipe direction uses eight choices (including diagonals) so the sweep starts from the chosen corner; Diagonal pattern on cardinals still blends both axes. Checkerboard and Blinds follow the same direction. All four intro effects can combine with any color animation.

Try the 3-D objects

Choose Rotating cube, Spinning globe, or Rolling drum under Movement. Start with a colorful pattern or a picture with a border, preferably on a 40 × 25 canvas. Small canvases show only a coarse silhouette.

Use Camera distance to move closer or farther away, Camera orbit to circle the object, and Camera elevation to look from above or below. Very close views can crop the object at the canvas edges. Camera motion defaults to Fixed. Choose Orbit once per movement cycle to circle the spinning object from the selected starting angle. Choose Move in and out to move toward the object and back, or Orbit and move in and out to combine both. At Very close, the camera moves back first. Each move starts and ends at your chosen distance, and exports use the same motion as the preview.

The drawing becomes the surface texture; glyphs remain whole and keep their inks. The nearest surface hides the back, even where the texture is empty. Empty texture cells show the background. Fine details may disappear as the surface turns. No shading changes your chosen colors.

Use Loop duration and Movement cycles per loop to set speed, and combine with any Color animation. Each movement cycle returns to its starting orientation. These effects share the preview and animation download frames, including C64 output subject to its existing memory and timing limits. Return to drawing restores your original artwork.

Shape a wave

Wave controls appear only when their effect is selected. Sine scroller uses a fixed sine curve and exposes travel direction, movement height and wavelength. Raster-style bars and Plasma field expose the same color direction, waveform, height and wavelength controls as Rainbow wave. Movement, Color, and Backdrop each have their own wave direction and waveform when relevant; Color waves recolor glyph inks, Backdrop waves pattern the paper. Wave direction is the direction the pattern travels. For Wave rows / columns, Up/Down shifts rows sideways and Left/Right shifts columns vertically. Diagonal wave uses only the four corner directions, and cells slide along that corner.

Waveform How it changes
Sine Smooth, rounded motion
Triangle Even rise and fall
Square Switches between two levels
Sawtooth Rises steadily, then jumps back
Reverse sawtooth Falls steadily, then jumps back

Wavelength changes the spacing between waves. Movement, Color, and Backdrop each have their own setting where wave controls appear: 10%, 25%, 50%, 75%, or 100%. 50% matches the original appearance; 100% is twice as long, and 25% is half as long. Shorter wavelengths fit more waves into the same area. This changes spacing independently of height and cycles per loop. Movement wavelength applies to Wave rows / columns, Diagonal wave, Column wave, Row blinds, Sine scroller and Ripple; color wavelength applies to Rainbow wave, Raster-style bars and Plasma field; backdrop wavelength applies to backdrop ramps on the paper. Existing projects start at 50%.

Movement → Height sets movement distance to 10%, 25%, 50%, 75%, or 100% of the expanded movement range. At 100%, the maximum distance is twice the previous range; 50% matches the previous range. Height changes distance independently of direction, waveform, loop duration and cycles. Color → Height offers the same percentages for Rainbow wave and Raster-style bars, independently of movement and backdrop. Backdrop → Wave height does the same for paper bands behind glyphs. At 100% it uses the full ramp excursion; lower heights narrow it. Color cycle and Warm glow do not use waveforms and have no height control. Low color heights may hold a single color.

Character movement uses whole cells, so even smooth waveforms appear stepped on a small grid. Low heights can round to no movement on small canvases. Short wavelengths can repeat the same sampled phase on small grids, producing stripes or little visible variation. Color waveforms choose from eight palette inks. A square color wave switches between two ramp positions.

Settings apply to preview, GIF, video, PNG frames, and C64 animation programs, and are saved with the editable project.

Raster-style bars color the artwork at character-cell resolution; they do not change the background on individual display scanlines. Combine them with Sine scroller for moving artwork and color bands together. As with other effects, C64 output remains subject to memory and timing checks.

What replay records

New strokes are recorded automatically. Replay follows their order at the selected cycles-per-loop rate; it does not reproduce the pauses you took while drawing.

Imported artwork without a recording, patterns, and resized canvases reveal in grid order: left to right, then down. After 20,000 cell changes, the recording is condensed to a reveal of the current picture. Undo/redo retain the matching recording.

Long recordings use selected points from the recording instead of showing every change as a separate frame. The editor creates effects and drawing replays; it does not provide a manual frame timeline.

Download artwork

Open Download artwork, choose a tab and format, then use its Download button. Scroll-family movements (Scroll, Sine scroller, Column wave) show extra guidance on the Animation and Native program (PRG) tabs when those effects are selected in Animation settings. The preview shows output dimensions in pixels and, for animations, duration and frame count. Editing grid lines are omitted.

In Animation, use Play preview to watch the selected animation directly in the download panel. It plays only there; the drawing behind the panel stays still, and closing the panel stops it. Stop preview resets it to the first frame. The same control appears in C64 data when Selected animation is chosen. The C64 preview uses the drawing’s background color; it previews the animation in the browser, not C64 execution speed.

Goal Tab and format Result
Share a still picture Image → PNG image A still image at 16, 32, 64, or 128 pixels per cell
Scale a picture Image → SVG vector Shapes that scale without blurring
Share a repeating animation Animation → Animated GIF An animation that loops continuously
Save a video with a set duration Animation → Video (MP4 / WebM) A silent clip with 1–100 complete loops
Edit frames elsewhere Animation → PNG frames (.zip) Full PNG images, timings, and an editable project
Run artwork on a C64 C64 data → C64 program A runnable still or animation, as a .prg program or .d64 virtual disk
Work with glyph data C64 data → Raw bytes & text Text, two-byte glyph IDs, or separate color bytes

Image backgrounds can use the canvas color, white, black, or transparency. Animation backgrounds can use the canvas color, white, or transparency. Video uses the canvas color when Transparent is selected.

GIF, video, and frame ZIP share resolution choices of 8, 16, or 32 pixels per cell. PNG frames preserve exact pixels; video compression may slightly change colors and edges.

Colors → Screen can show the picture on a monitor, a television, a green monitor, or an amber monitor. Monitor and television keep the painted colors, with thin scanlines, a little phosphor, and a slight color edge. Green and amber are one phosphor: a bright ink stays bright and a dark ink stays dark, and the original hues are gone. None leaves the picture alone. PNG, GIF, video, and frame ZIP match that choice. SVG, PRG, and disk images stay the clean drawing.

Video repetitions

In Animation → Video (MP4 / WebM), set Video repetitions (total loops). One plays once; the maximum is 100.

For example: 2 seconds per loop × 5 repetitions = a 10-second video.

The editor prefers H.264 MP4 and uses VP9/VP8 WebM when needed. If the browser cannot encode video, use GIF or PNG frames. Videos contain no audio and require no camera, microphone, or screen-recording permission.

Repetitions change the video file only. GIF and preview looping, and the frame ZIP’s one-loop timeline, keep their existing behavior.

While a file is being prepared

Animation downloads show a progress bar and frame counter (for example Rendering GIF: 3 / 48) and provide Cancel export. You can close the download panel and keep drawing. Each export uses a copy of the artwork and settings from when it started.

Tap the same animation Download button again to reuse the completed file. Changing artwork or output settings makes the editor prepare a new file. Canceling or failing to prepare a file preserves the previous completed download.

Use a frame ZIP

Keep these files together:

File Purpose
frames/frame-0001.png, and later numbers Complete images in playback order
timing.json Dimensions, glyph encoding, colors, loop duration, and each frame’s start time and duration
project.json Editable artwork captured when export started
README.txt Instructions for the frame sequence

Frame durations can differ, especially during the final hold in replay. Use timing.json when importing frames into another tool. Giving every frame the same duration can change the animation’s timing.

Run a C64 program

  1. Choose Download artwork → C64 data.
  2. Set C64 program to Still drawing or Selected animation.
  3. For animation, set C64 repetitions: 0 repeats continuously; 1–100 plays that many loops and holds the last frame.
  4. Choose C64 file format: Program (.prg) for a direct program, or Disk image (.d64) for a virtual 1541 floppy containing that program.
  5. Use the Download button. Load the program in a standard C64 emulator or transfer it to your C64, then RUN. For a D64, attach the disk as device 8, type LOAD "*",8,1, then RUN.
  6. Press RUN/STOP to exit.

The program uses your cell colors and canvas background. Scroll with original colors and no backdrop can glide one pixel at a time, or hop four pixels when the loop is faster. Every step in the loop stays up for the same number of television frames. One trip of a 12-second loop runs for about 12.8 seconds on the C64, and four trips of that loop still glide one pixel. The character move starts in the bottom border. Up left and down right copy color in one pass, so a 16×16 picture in those directions uses this player too. A canvas whose color move does not fit that blank, or whose loop is faster still, stays on the whole-cell program. Backdrop animation can change the border and background in bands down the screen. Other effects keep the whole-frame player. Graphics-only source-bank-0 artwork uses the C64’s own character ROM. Mixed-bank artwork includes a RAM character set containing the patterns it needs. C64 output allows at most 256 distinct patterns across the entire animation, including a blank. This limit does not apply to images or videos. Drawings must fit within 40×25 cells. Smaller drawings and animations are centered on the C64 screen. Large or very fast animations may exceed memory or processing limits; the exporter explains what to change.

The player has automated CPU checks. The original ROM-backed path also has full PAL/NTSC VICE checks for representative stills, animation, and disk loading; full-machine verification of the new mixed-bank RAM path and physical C64 checks remain open. See the C64 output guide for loading instructions and timing limits.

C64 terms and data

You can skip this section for ordinary drawing and image downloads.

Term Meaning here
Glyph One 8×8 character image
Cell One position in the canvas grid
ROM Read-only memory; the original C64 stores its character patterns here
Character set / bank One collection of 256 glyphs
Screen code A number selecting a glyph in the chosen bank
Glyph ID An editor atlas slot, 0–511: source bank × 256 + screen code
PETSCII A separate C64 text encoding; screen-code bytes are not PETSCII bytes
Row-major Left to right across the top row, then each row below it
Inverse glyph A glyph from the inverse half of the character set; actual source slots are preserved

Text and binary formats

  • Glyph-ID text: a labeled grid with dimensions. Enable Include colors in text to preserve cell inks and background as well as glyph IDs and empty cells.
  • Glyph IDs (.bin): two bytes per cell, little-endian, in row-major order. Empty cells use FFFF. These are not native C64 screen bytes or PETSCII bytes.
  • Color RAM (.bin): one foreground color index, 0–15, per cell, including empty cells. Pair it with the glyph-ID file.

Binary files omit dimensions and a C64 load address. Glyph-ID files also omit colors. Use the editable JSON project to preserve the full drawing and replay.

Use the binary files on a C64

The two .bin files describe a still picture. They are data, not runnable programs, and contain no animation timing.

See Use your artwork on a Commodore 64 for the file contents, an emulator reference workflow, and runnable still/animation .prg downloads.

Labeled text example

# PETSCII-GLYPHS 1 2 2
100 0A0
-- 180

The header gives format version, columns, and rows. Here it means version 1, two columns and two rows. Each cell chooses its own source-bank glyph.

Each row must have one space-separated token per column:

  • Three hexadecimal digits, such as 000 or 180: a glyph ID, at most 1FF.
  • --: an empty cell.

To copy or download colors too, open Download artwork → C64 data → Raw bytes & text and check Include colors in text. Version 2 adds a hexadecimal background index to the header and a colon plus ink index to every cell:

# PETSCII-GLYPHS 2 2 2 6
100:F 0A0:0
--:7 180:2

On VIC and VDC machines, color indices run from 0 to F (0–15). On Plus/4 the same checkbox writes version 3, with two hex digits from 00 to 78 (TED indices 0–120):

# PETSCII-GLYPHS 3 2 1 50
0A0:50 --:00

Empty cells retain their ink index. Paste any of these versions into the text box and choose Import text; the header determines the format, independently of the checkbox. A version 2 grid opened on Plus/4 is remapped onto TED. A version 3 grid opened on a VIC or VDC machine is remapped onto that machine’s 16-color palette. Color text restores the background and cell inks, while leaving the brush ink unchanged. Glyph-only text uses the current brush ink and keeps the current background. One Undo restores the previous drawing. Use an editable JSON project to retain animation and replay settings.

An empty cell differs from a deliberately placed space glyph (ID 020 in hexadecimal). Import checks the whole document before changing the drawing. The older PETSCII-GRID format is unsupported.

If something does not work

What you notice Next step
C64 glyphs are unavailable Open Glyphs → Character options → Reload C64 glyphs. Numeric codes are retained. Reload glyphs to resume drawing.
A backup notice appears Use Project → Download editable project.
An animation download does not start Tap its Download button again to reuse the completed file.
Video encoding is unavailable Choose GIF or PNG frames.

Image export waits for C64 glyph data rather than omitting unavailable glyphs. Text, JSON, and glyph-ID files can still preserve numeric IDs.

Physical iPad finger gestures and Files/Photos handoffs still need testing on a real device.

Develop or maintain the editor

Start with AGENTS.md for project rules and the maintainer reference for file formats, rendering, timing, glyph provenance, and export requirements.

Tests need Node.js/npm, Python 3 with the py65 CPU emulator, and FFmpeg with ffprobe. GitHub Actions uses Node.js 22.

Run from the repository directory:

npm ci
npx playwright install --with-deps chromium webkit
python3 -m pip install py65==1.2.0

Install FFmpeg with your platform’s package manager, then run:

npm test

Playwright tests desktop Chromium and iPad WebKit in landscape and portrait. Tests inspect downloaded files, pixels, timing, saved projects, touch input, and undo/redo. Video checks decode output independently with FFmpeg/FFprobe. C64 checks execute downloaded PRGs with py65, using simulated KERNAL calls and a clock. Use a Python virtual environment if your platform requires one.

CHROMIUM_EXECUTABLE_PATH can select a local Chromium executable. Standard development and CI use Playwright’s browser builds and the committed npm lockfile.

Other documentation

Releases

Packages

Contributors

Languages