Repository navigation
build(docs): draw illustrations with minecraft style blocks - #56
Merged
Merged
Conversation
Proposal, design and delta spec for drawing the generated illustrations with Minecraft material colours, computed block tiles, a named legend, paint control points and a chest-style brush menu. Claude-Session: https://claude.ai/code/session_01JavEedb4MyR9NehY3HusTn
Blocks are drawn with the representative colour of their Minecraft material and an 8x8 pixel tile computed from the material name with a fixed seed. No Minecraft or third-party texture file is read or embedded. Unchanged blocks are faded, changed blocks are full colour with a highlight border, air is the sky tint, and the legend names each material (Grass Block, Gold Block, ...). The scenes stand on grass over dirt over stone; the paint scene numbers its six control points. The menu is drawn as a 6x9 chest container with glass panes, block tiles, pixel icons and numbered callouts on functional slots. Claude-Session: https://claude.ai/code/session_01JavEedb4MyR9NehY3HusTn
Explain the material colours and the computed pixel tiles of the illustrations, the rule against Minecraft and third-party texture files, how to add a material or a menu icon, and how to read the brush and menu pictures. Claude-Session: https://claude.ai/code/session_01JavEedb4MyR9NehY3HusTn
Unit Test Results 43 files 43 suites 8s ⏱️ Results for commit 471d601. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The generated brush and menu pictures no longer look like fantasy blocks. The 2D layout is unchanged (top view, side cross-section, legend; the 54-slot grid).
docs/development/documentation.mdsays so.#dbeafe; the clicked block is outlined.minecraft-style-illustrations, delta ondocs-illustrations(material colours, computed tiles, legend names, unchanged blocks, paint control points, chest menu with callouts).openspec validate --strictpasses.Verification
src/docsGenTestfailed to compile against the missing SVG model and tile API. Then implemented to green:./gradlew docsGenTest64 passed, 0 failed../gradlew generateDocsImagesrun twice: the outputs are byte-identical../gradlew spotlessApplyand./gradlew checkpass (checkDocsImages,checkDocsLinks,docsGenTestand the main tests).Please look at
paint-brush.svgthe gold blocks end at about point 5, with nothing on the last segment to point 6. The generator runs the realPaintBrush.apply, so the picture shows what the brush paints. InPaintBrush.sampleOffsetsthe sampled spline parameter runs up topoints.size() - 1, which looks one segment short. I did not change brush code here, since brush behaviour is out of scope. It needs its own look, probably a separate change.Not merged and not archived.
https://claude.ai/code/session_01JavEedb4MyR9NehY3HusTn