Trace Drawer 预览图

杀戮尖塔 2 (Slay the Spire 2)

Trace Drawer

Utility

最后更新 2026/11/29文件 33.0 MBID 3845485586

模组简介

Trace Drawer Turn any picture or text into a drawing on the map - and watch it being drawn, stroke by stroke, with the game's own pen. Save your drawings as stamps, paint the whole map or every field, and draw with the eraser too. How to use • Open the map and click the Trace Drawer button in the drawing toolbar (next to the pen, eraser and broom). • Image - open a file, drag an image onto the game window, or press Paste for a copied picture, a copied file, an image link (https://...) or a file path. PNG, JPG, WebP, BMP, TGA and SVG work. • Text - type something and pick one of five fonts: classic strokes, the game's own font, handwriting, epic or blackletter. • Stamps - Save as stamp keeps any drawing. Draw something yourself with the game's quill and press Save my map drawing to keep that too (your eraser strokes are taken into account). Stamps are small files you can share. • Map - Fill the whole map , or Draw on every field : filled, a ring, a cross or your current drawing on each field. • Tool: Pen or Eraser - everything can be drawn with the eraser instead: fill a field, then erase a picture or text into it. • Adjust Detail , Crop to subject (only the main subject, cut out) and Size - up to huge drawings across the whole map. The preview updates as you go. • Size slider : the picture is converted again at the new size - bigger means more detail. Mouse wheel while placing: only scales the finished drawing. • Place on map : a see-through copy in your ink colour follows the mouse. Scroll to resize, click to draw, right-click or Esc to go back. • F8 draws the last drawing again at the mouse, Esc stops a drawing in progress. Size matters: the map pen has a fixed width, so a bigger drawing can hold more detail. Photos with a clear subject work best. How it works • AI line drawing - the Informative Drawings network (Chan, Durand, Isola, CVPR 2022) turns the picture into a hand-drawn line picture. It runs at a resolution matched to the map pen, so it decides itself which lines matter at that scale. U2-Net (Qin et al.) finds the main subject for "Crop to subject". Both run locally on your PC with ONNX Runtime - no internet, no uploads. • Stroke tracing - a greedy stroke placer redraws that line picture with the pen: start at the darkest ink left, follow the line in pen-sized steps, subtract what the pen covered, repeat. Heavy lines get extra passes beside them, faint ones drop out - so line weight and dark areas come straight from the picture. • Text - real fonts are rendered off-screen and filled with concentric outlines, like a marker; the classic font is drawn stroke by stroke. • Map tools - the fields' positions come straight from the game (no screen capture); fields are covered with a spiral, the map with back-and-forth rows. • Fallback - without the AI (e.g. on Linux and macOS) a classic edge detection is used (Canny edges plus XDoG dark-feature lines). Multiplayer Works in co-op, and only the player who draws needs the mod . Trace Drawer adds no network messages of its own - it uses the game's normal map drawing, so your partners see the drawing appear like any other map drawing, even without the mod. It can be erased with the eraser and removed with the broom. Speed "Fast" and "Steady" feed the game a few points per frame, like a real pen. "Instant" draws everything at once and is meant for solo play. Good to know • Purely cosmetic - it does not change gameplay. • Tested on Slay the Spire 2 beta v0.113.1 . The game is in Early Access; a game update may need a mod update. • Please only draw pictures you are allowed to use, and be nice to your co-op partners. Credits Idea and first rough prototype: Mark . Expanded into this mod by MrRevillo , with the help of Claude Code. Models: Informative Drawings (MIT, Caroline Chan; ONNX conversion josephrocca), U2-Net (Apache-2.0, Xuebin Qin et al.). Runtime: ONNX Runtime (MIT, Microsoft). Fonts: Caveat, Cinzel Decorative, Pirata One (SIL Open Font License). Thanks to the open-source mods Pathing Plus and StampTheSpire2 for showing how the map drawing works. Full notices are included in the mod folder (THIRD_PARTY_NOTICES.txt). Example photo in the previews: MrRevillo. Unofficial fan mod - not affiliated with or endorsed by Mega Crit. Free, and it will stay free.

详情图片

条目信息

所属游戏
杀戮尖塔 2 (Slay the Spire 2)
创意工坊 ID
3845485586
文件名
3845485586.bin
文件大小
33.0 MB
最后更新
2026/11/29
内容版本
v1795899027-738a4f07137aa274
作者与来源
由原作者发布于 Steam 创意工坊。本站不改变署名,作者信息与原始内容请以 Steam 原始页面 为准。