<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Wobjoy Development Notes]]></title><description><![CDATA[Wobjoy Development Notes]]></description><link>https://wobjoy.hashnode.dev</link><image><url>https://cdn.hashnode.com/uploads/logos/6b03b26e12274fbf20cd5c0c/9fc64f1e-cd4a-4581-b39b-49cc9d80ecc1.png</url><title>Wobjoy Development Notes</title><link>https://wobjoy.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Sat, 28 Nov 2026 00:47:52 GMT</lastBuildDate><atom:link href="https://wobjoy.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[How to Use an Image Reference for AI Portraits and Character Art]]></title><description><![CDATA[Use one image reference to guide an AI portrait. Learn what to keep, what to change, and what to check in each variation.]]></description><link>https://wobjoy.hashnode.dev/how-to-use-an-image-reference-for-ai-portraits-and-character-art</link><guid isPermaLink="true">https://wobjoy.hashnode.dev/how-to-use-an-image-reference-for-ai-portraits-and-character-art</guid><category><![CDATA[AI]]></category><category><![CDATA[generative ai]]></category><category><![CDATA[image generation]]></category><category><![CDATA[digital art]]></category><dc:creator><![CDATA[inkwen_dev]]></dc:creator><pubDate>Wed, 25 Nov 2026 09:53:05 GMT</pubDate><content:encoded><![CDATA[<p>Image-to-image generation uses a reference image and a written instruction to guide a new result. To make the instruction clearer, say which parts of the reference should stay and what you want to change.</p>
<p>The result is informed by the reference, not guaranteed to be an exact copy or pixel-level edit. Faces, proportions, lettering and small details can change, so inspect each result before using it.</p>
<h2>What does image-to-image generation do?</h2>
<p>It uses an uploaded image as visual context and combines it with your written direction to create a new image. The reference can help communicate a pose, composition or overall look; it does not lock every feature in place.</p>
<h2>How should I describe what to keep and change?</h2>
<p>Separate the instruction into two parts: name the important details to retain, then request one focused change. For example, keep the pose and framing but change the background and lighting.</p>
<blockquote>
<p>Keep the pose and framing from the reference. Change the background to a coastal walkway at dawn and use soft, cool light. Do not add text.</p>
</blockquote>
<p>A focused change is easier to evaluate than asking for several unrelated transformations at once.</p>
<h2>What should I check before using a generated variation?</h2>
<p>Compare the result with your reference and check whether the important composition and requested change came through. If one detail matters most, make that instruction more explicit before trying again.</p>
<p>Use one clear image that you have permission to upload. When a generated result becomes a new reference, small differences can accumulate across rounds.</p>
<p>In Girlens, the reference-image workflow accepts one image and lets you describe the changes you want. Select a model that supports reference images and review the displayed settings and cost before generating. Uploading a reference does not by itself generate an image.</p>
<p>Try <a href="https://girlens.com/image-to-image">Girlens Image to Image</a>. If you are starting only from a written idea, use <a href="https://girlens.com/text-to-image">Girlens Text to Image</a>.</p>
<h2>Frequently asked questions</h2>
<h3>Does image-to-image copy the reference exactly?</h3>
<p>No. The reference provides visual context, while the model interprets the image and instruction. Faces, proportions, lettering and small details may change.</p>
<h3>How many changes should I request at once?</h3>
<p>Start with one focused change, such as replacing the background while keeping the pose. If the result misses the goal, revise the instruction before adding another change.</p>
<h3>Can I upload any image as a reference?</h3>
<p>Use an image you have permission to upload. Check the service's current upload and privacy terms before submitting personal or sensitive images.</p>
<p><em>Disclosure: We build Girlens. This is a practical guide from the product team, not an independent review. It was prepared with AI assistance.</em></p>
]]></content:encoded></item><item><title><![CDATA[How to Write Better Text-to-Image Prompts for Portraits and Character Art]]></title><description><![CDATA[Build clearer text-to-image prompts for portraits using subject, setting, framing, light and style. Includes a simple structure and example.]]></description><link>https://wobjoy.hashnode.dev/how-to-write-better-text-to-image-prompts-for-portraits-and-character-art</link><guid isPermaLink="true">https://wobjoy.hashnode.dev/how-to-write-better-text-to-image-prompts-for-portraits-and-character-art</guid><category><![CDATA[AI]]></category><category><![CDATA[generative ai]]></category><category><![CDATA[image generation]]></category><category><![CDATA[digital art]]></category><dc:creator><![CDATA[inkwen_dev]]></dc:creator><pubDate>Wed, 25 Nov 2026 09:49:26 GMT</pubDate><content:encoded><![CDATA[<p>To write a useful text-to-image prompt, describe the subject and action, setting, framing, lighting, color and visual style. Keep the first prompt focused, then change one detail at a time after reviewing the result.</p>
<p>This structure works for portraits and character art as well as other visual ideas. It gives the model concrete choices without relying on a long string of adjectives.</p>
<h2>What should a text-to-image prompt include?</h2>
<p>A clear prompt names the main subject, what they are doing, where the scene takes place, how it is framed and the visual treatment. Include only details that affect the image you want to see.</p>
<p>For a portrait, that can mean a pose, a setting, a camera distance, a light source and a medium. “An adult woman reading beside a window” gives the scene a subject and action; “beautiful, amazing, perfect portrait” does not explain what to draw.</p>
<h2>How do I write a portrait prompt?</h2>
<p>Build the prompt from the scene outward: subject and action first, then setting and framing, followed by light, color and style. This order helps keep the central idea visible.</p>
<p>One practical pattern is:</p>
<blockquote>
<p>Main subject and action + setting and framing + light and color + visual style</p>
</blockquote>
<p>For example:</p>
<blockquote>
<p>An adult woman in a navy coat, looking out a bookshop window. Waist-up portrait, soft morning window light, muted blue and warm wood tones, natural editorial photography.</p>
</blockquote>
<p>Use a few specific choices. “Soft morning window light” describes both a source and quality of light. “Waist-up portrait” sets the framing. If the medium matters, name it directly, such as watercolor, flat illustration or anime-inspired art.</p>
<h2>How can I improve a generated image?</h2>
<p>Change the part that missed your intention and keep the rest of the prompt stable. If the pose works but the background is too busy, revise the background instead of rewriting every detail.</p>
<p>Review the result, identify one visible mismatch, and make one focused edit. This makes it easier to tell which instruction changed the outcome.</p>
<h2>What can a prompt control, and what can it not guarantee?</h2>
<p>A prompt guides the model's interpretation; it cannot guarantee exact wording, facial details or composition. Inspect small details and any text inside the image before downloading or sharing a result.</p>
<p>You can try this workflow in <a href="https://girlens.com/text-to-image">Girlens Text to Image</a>. Choose an available model and image ratio, review the displayed cost, and generate when you are ready.</p>
<h2>Frequently asked questions</h2>
<h3>Should I put every visual detail in one prompt?</h3>
<p>No. Start with the details that define the image, then add or revise one detail after reviewing a result. A long list of unrelated adjectives can make the visual direction less clear.</p>
<h3>Do text-to-image prompts guarantee the exact result?</h3>
<p>No. A prompt guides the model but does not guarantee exact wording, facial features or composition. Review the generated image before using it.</p>
<h3>What should I change when the image is close but not right?</h3>
<p>Keep the parts that work and revise the visible mismatch. For example, change the background while keeping the pose and framing stable.</p>
<p><em>Disclosure: We build Girlens. This is a practical guide from the product team, not an independent review. It was prepared with AI assistance.</em></p>
]]></content:encoded></item><item><title><![CDATA[Building Wobjoy: browser games with Astro, TypeScript, React and Cloudflare Workers]]></title><description><![CDATA[How Wobjoy separates game rules, bilingual pages and online features with Astro, TypeScript, React and Cloudflare Workers.]]></description><link>https://wobjoy.hashnode.dev/building-wobjoy-browser-games-with-astro-typescript-react-and-cloudflare-workers</link><guid isPermaLink="true">https://wobjoy.hashnode.dev/building-wobjoy-browser-games-with-astro-typescript-react-and-cloudflare-workers</guid><category><![CDATA[TypeScript]]></category><category><![CDATA[Astro]]></category><dc:creator><![CDATA[inkwen_dev]]></dc:creator><pubDate>Mon, 23 Nov 2026 03:36:49 GMT</pubDate><content:encoded><![CDATA[<p><a href="https://wobjoy.com/">Wobjoy</a> is a collection of free browser games, from puzzles such as Tower of Hanoi, Sokoban and Shikaku to casual challenges such as Egg Bonk. Players open a game in the browser without installing an app. The site has English and Chinese interfaces.</p>
<p>The development challenge is keeping a growing collection maintainable. Each game has different rules and controls, while the surrounding website needs consistent navigation, language handling and online features. Here is how the project is structured and where the main technologies fit.</p>
<h2>Static pages around interactive games</h2>
<p>Astro generates the website's pages, including game introductions and instructions. A game board should not be the only place that explains what a player is supposed to do: readable HTML gives visitors context before they interact with it.</p>
<p>React is integrated for interactive components, alongside game-specific browser code. The project does not require every game to use the same rendering approach. The useful boundary is between the surrounding page, the interaction layer and the rules of the game.</p>
<p>This is a good fit for a collection where one game might be about moving rings between pegs and another about drawing rectangles on a grid. Sharing the site does not mean forcing both games into identical components.</p>
<h2>TypeScript and independent game rules</h2>
<p>TypeScript is used for game and platform code. Each game owns its rules and interaction code, while shared platform modules handle capabilities that actually recur across games.</p>
<p>The architecture keeps rule calculations separate from the DOM, animation, authentication and database access. For example, the rule that a larger Hanoi ring cannot be placed on a smaller one belongs to the game logic; showing an invalid-move message belongs to the interface.</p>
<p>That separation makes rules easier to test without reproducing every animation or browser interaction. It also helps keep changes to one game from spilling into another.</p>
<p>The project deliberately avoids building a universal game engine ahead of real needs. Navigation, language handling and online clients have clear reasons to be shared. The rules for moving a box in Sokoban and placing a rectangle in Shikaku do not.</p>
<h2>Cloudflare Workers for online features</h2>
<p>The deployment combines Cloudflare Workers with Static Assets. Generated pages and game assets are served as static files; requests under <code>/api/</code> run through the Worker.</p>
<p>Cloudflare D1 stores authentication and online application data, with Better Auth used for authentication. Keeping the API on the same site gives the browser a consistent place to send online requests without making every page a server-rendered request.</p>
<p>The design also separates playing a game from using its online features. A failed online request should be explained as a failed online request, rather than presented as a successful score upload. Guest play and local records have different meanings from an account-backed leaderboard result.</p>
<h2>Two languages without duplicating the games</h2>
<p>English and Chinese messages are organized by game and platform feature. Game identifiers and scoring rules stay independent of translated labels.</p>
<p>The site provides language-specific URLs, such as <code>/games/egg-bonk/</code> and <code>/zh/games/egg-bonk/</code>. Page titles, descriptions and language links follow the same structure. Translating a game means maintaining its instructions and interface text, rather than creating a second copy of its rules.</p>
<h2>Keeping the collection easy to extend</h2>
<p>A shared game catalog records names, routes, images and short descriptions. That gives directory pages a common source instead of maintaining separate lists throughout the site.</p>
<p>The project uses TypeScript checking, Vitest for tests and Playwright for browser checks. Those checks serve different purposes: a rule test cannot tell whether a control is comfortable to use on a phone, and a successful page load does not prove the complete player journey works well.</p>
<p>The main lesson from this architecture is to share the stable website capabilities while letting each game remain understandable on its own. Adding a new game should not require copying the surrounding platform or rewriting unrelated games.</p>
<p>You can <a href="https://wobjoy.com/">play the games on Wobjoy</a>, browse the <a href="https://stackshare.io/leiwenfans/wobjoy">technology stack</a>, or see the <a href="https://github.com/inkwen-dev/wobjoy">English and Chinese game introductions on GitHub</a>. The GitHub repository is a public game directory, not the implementation source code.</p>
<p>Disclosure: This article was prepared with AI assistance and describes the existing Wobjoy project.</p>
]]></content:encoded></item></channel></rss>