<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
    <title>Jfro&#x27;s Blog - iced</title>
    <link rel="self" type="application/atom+xml" href="https://knope.dev/tags/iced/atom.xml"/>
    <link rel="alternate" type="text/html" href="https://knope.dev"/>
    <generator uri="https://www.getzola.org/">Zola</generator>
    <updated>2026-05-26T00:00:00+00:00</updated>
    <id>https://knope.dev/tags/iced/atom.xml</id>
    <entry xml:lang="en">
        <title>The Lodge Project &amp; Learning Iced</title>
        <published>2026-05-26T00:00:00+00:00</published>
        <updated>2026-05-26T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Unknown
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://knope.dev/blog/lodge-iced-status/"/>
        <id>https://knope.dev/blog/lodge-iced-status/</id>
        
        <content type="html" xml:base="https://knope.dev/blog/lodge-iced-status/">&lt;h2 id=&quot;the-lodge-project&quot;&gt;The Lodge Project&lt;a class=&quot;post-anchor&quot; href=&quot;#the-lodge-project&quot; aria-label=&quot;Anchor link for: the-lodge-project&quot;&gt;&lt;span aria-hidden=&quot;true&quot;&gt;#&lt;&#x2F;span&gt;&lt;&#x2F;a&gt;
&lt;&#x2F;h2&gt;
&lt;p&gt;So I briefly mentioned The Lodge in my intro post, which is a little side project I&#x27;m attempting to build chat software, but with the ability to work like &lt;a rel=&quot;external&quot; href=&quot;https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;The_Palace_(computer_program)&quot;&gt;The Palace&lt;&#x2F;a&gt;. This was a chat I frequented when I was younger quite a bit, so this is definitely heavily nostalgia fueled. I do hope to try to make the protocol &amp;amp; software flexible and not limited to visual&#x2F;spatial based. I started with basic protocol &amp;amp; a TUI app, and only recently started playing with the Rust &lt;a rel=&quot;external&quot; href=&quot;https:&#x2F;&#x2F;iced.rs&#x2F;&quot;&gt;iced GUI library&lt;&#x2F;a&gt;. The server, client, &amp;amp; protocl have at least the basic functional bits for chat rooms &amp;amp; anonymous users connecting. I&#x27;m hoping to get more TUI&#x2F;GUI work done before extending things further. My ADHD is a little at play too since the TUI isn&#x27;t quite complete enough for basic use beyond a default room, but wanted to play with GUI 😄. The current TUI in a tmux session with the server:&lt;&#x2F;p&gt;
&lt;p&gt;&lt;img src=&quot;https:&#x2F;&#x2F;knope.dev&#x2F;blog&#x2F;lodge-iced-status&#x2F;lodge-tui.png&quot; alt=&quot;The Lodge TUI&quot; &#x2F;&gt;&lt;&#x2F;p&gt;
&lt;h2 id=&quot;gui-status&quot;&gt;GUI Status&lt;a class=&quot;post-anchor&quot; href=&quot;#gui-status&quot; aria-label=&quot;Anchor link for: gui-status&quot;&gt;&lt;span aria-hidden=&quot;true&quot;&gt;#&lt;&#x2F;span&gt;&lt;&#x2F;a&gt;
&lt;&#x2F;h2&gt;
&lt;p&gt;I recently started the iced GUI for Lodge &amp;amp; focusing on getting some core basic stuff rendering. This is my first attempt at learning iced &amp;amp; how to do some custom rendering in particular in it. It currently looks like this:&lt;&#x2F;p&gt;
&lt;p&gt;&lt;img src=&quot;https:&#x2F;&#x2F;knope.dev&#x2F;blog&#x2F;lodge-iced-status&#x2F;lodge-iced.png&quot; alt=&quot;The Lodge Iced UI prototype&quot; &#x2F;&gt;&lt;&#x2F;p&gt;
&lt;h2 id=&quot;tricky-bits&quot;&gt;Tricky Bits&lt;a class=&quot;post-anchor&quot; href=&quot;#tricky-bits&quot; aria-label=&quot;Anchor link for: tricky-bits&quot;&gt;&lt;span aria-hidden=&quot;true&quot;&gt;#&lt;&#x2F;span&gt;&lt;&#x2F;a&gt;
&lt;&#x2F;h2&gt;
&lt;p&gt;I&#x27;m still waffling on how to render the users in the viewport, as there&#x27;s pros&#x2F;cons of a few different ways of doing this and it&#x27;s a little frustrating. For example, I&#x27;m currently using a sprite sheet from a palace client clone I found online for the smilies, but there seems to be only one built-in way to render a single sprite from a sheet in iced that I can tell, which is the image widget. Using a widget for a more game&#x2F;arbitrarily laid out UI seems kinda funky. So it&#x27;s a bit of a toss up of what seems more awkward to use for this. Part of me wonders if the viewport should be entirely WGPU or some other raw rendered thing. There&#x27;s also I think benefits to the widget approach like input might be a bit simpler, though current plans for input are pretty limited for the viewport.&lt;&#x2F;p&gt;
&lt;p&gt;Hopefully I find some more time soon to continue working on this &amp;amp; get some basic functional UI up so I can wire the actual client code in &amp;amp; attempt to actually chat, maybe soon!&lt;&#x2F;p&gt;
</content>
        
    </entry>
</feed>
