BBS: TELESC.NET.BR Assunto: xtrn/synchess/images/piece_mask.pbmxtrn/synchess/synchess.js De: Deuc¨ Data: Sat, 21 Mar 2026 13:02:22 -0700 ----------------------------------------------------------- https://gitlab.synchro.net/main/sbbs/-/commit/2925e44447e1ccb7e6b96a5e Added Files: xtrn/synchess/images/piece_mask.pbm Modified Files: xtrn/synchess/synchess.js Log Message: SynChess: add piece slide animation for all moves AI moves flash the source square twice before sliding to draw attention. Player moves slide immediately (board is redrawn first to clear drag highlights). Castling animates both king and rook. JXL mode uses flicker-free pixel animation with the two-mask trick from syncterm-bounce.js: each frame draws the piece silhouette at the new position, then erases the trail with an inverted mask that has a hole preserving the piece just drawn. Both paste commands are emitted in a single console.write() for atomic rendering. ANSI fallback steps the piece character along the path with ease-in-out timing, restoring board squares as it goes. New file: piece_mask.pbm 136x960 PBM containing draw masks (piece silhouettes) and erase masks (inverted silhouettes with 48px border) for all 6 piece types. Co-Authored-By: Claude Opus 4.6 (1M context)n --- mSynchronetn hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net ----------------------------------------------------------- [Voltar]