Explanation in English 【IMPORTANT】 Please always launch the conversion program with TurboWarp. https://turbowarp.org/1294372702 【How to Use】 Drawing: Press the flag Converting: Press the space key 【Mechanism/Drawing】 High-speed drawing is achieved by utilizing a quad tree. Furthermore, 100% pen support is achieved by developing a square fill engine. 【Mechanism/Conversion】 First, the entire color is analyzed pixel by pixel, and a quad tree is created based on that. This allows for a lightweight design that also works with Scratch. However, because the length of the list storing the entire color is very large (approximately 170,000), accurate conversion is impossible in Scratch. Therefore, launching with TurboWarp is recommended. 【Reference】 This conversion program was created based on @griffpatch's color scanner idea.
日本語説明 【重要】 変換プログラムは必ずTurboWarpで起動してください https://turbowarp.org/1294372702 【使用方法】 描画 旗を押す 変換 スペースキーを押す 【仕組み・描画】 四分木を利用することで高速な描画を実現しています。また、正方形塗りつぶしエンジンを作ることで100%ペンに対応させました。 【仕組み・変換】 まず全体の色を1pxずつ調べ、その後それを元に四分木を作成しています。こうすることでScratchでも動くような軽量さを実現しました。しかし、全体の色を保存するリストの長さが約17万と膨大でScratchでは正確に変換できないため、TurboWarpで起動することを推奨しています。 【参考】 @griffpatch 様のアイデアであるカラースキャナーを元に変換プログラムを作りました。