[HN Gopher] Tiny bitfield based text renderer (2022)
       ___________________________________________________________________
        
       Tiny bitfield based text renderer (2022)
        
       Author : 082349872349872
       Score  : 60 points
       Date   : 2024-03-15 16:51 UTC (6 hours ago)
        
 (HTM) web link (www.onirom.fr)
 (TXT) w3m dump (www.onirom.fr)
        
       | pushedx wrote:
       | Kind of funny that the only way to download the 256 Byte demo is
       | to download a 19.6 MiB zip file containing a video recording of
       | the demo.
       | 
       | https://files.scene.org/view/parties/2022/lovebyte22/executa...
        
         | nuxi wrote:
         | It's not the only way, try this:
         | 
         | 1. Click on the "my demoscene stuff" link
         | 
         | 2. Click on "Mmrnmhrm" link
         | 
         | 3. Click "[source]"
         | 
         | 4. Arrive at
         | https://github.com/grz0zrg/codegolfing/tree/main/Linux/Mmrnm...
        
       | nico wrote:
       | Fascinating in-depth write up
       | 
       | > Another idea would be to render tiles and modifying the tiles
       | content by just modulating the bit fields or map a set of tiles
       | differently or do simple transforms using bitwise operations such
       | as mirroring, once you have a complete set of tile operations you
       | can combine them to compose detailed patterns / images, ones
       | could also animate tiles individually by switching values in a
       | cyclic fashion...
       | 
       | Could something like the wave function collapse algorithm[1] be
       | used for this, ie. generating tiles that are similar to a certain
       | base pattern?
       | 
       | [1] https://github.com/mxgmn/WaveFunctionCollapse
        
         | msarchet wrote:
         | This does seem like a great use case for it.
        
       | user982 wrote:
       | This touches on something I've wondered: Which written languages
       | best lend themselves to small pixel fonts? I only ever see tiny
       | fonts for English Latin script.
        
         | gs17 wrote:
         | It's kind of cheating, but Braille should all fit in a 3x2
         | font.
         | 
         | You'd need a language that doesn't rely on accent marks or
         | pictograms for sure (unless they have a very tiny set of
         | characters), and that probably eliminates a lot of languages.
        
           | pavlov wrote:
           | Latin accents could perhaps be represented as digraphs for
           | such a tiny font.
           | 
           | Some languages have an official mapping, like in German where
           | you can usually replace a with ae, u with ue, and so on.
           | 
           | Otherwise the accent could be a separate character, as in
           | cafe'. Probably would be acceptable for this application.
        
         | justinlloyd wrote:
         | Technically the binary language of moisture evaporators would
         | be a good example. But for humans, perhaps Quipu/Khipu. Morse
         | code too, I guess.
        
         | timClicks wrote:
         | Scripts are products of their processes. For example, musical
         | notation looks the way it does because it was created when
         | people used quill and ink to create the notation. Scripts that
         | we use for writing have their origins in hand-writing and
         | printed wood/lead.
         | 
         | So it's also possible to flip this around. What script could be
         | designed with its basis being a 3x3 grid? That would allow you
         | to create forms which are maximally distinct from each other,
         | without needing to conform to a script like Latin characters.
        
       ___________________________________________________________________
       (page generated 2024-03-15 23:00 UTC)