patchlore · @paul
699 followers · 8266 posts · Server post.lurk.org

A little reference card I made a while back for trig, a rhythmic toy computer and sequencer for . The card itself was generated using my 1-bit graphics library . This card features classic macintosh bitmap fonts using a font renderer I wrote.

#btprnt #monolith

Last updated 5 years ago

patchlore · @paul
699 followers · 8266 posts · Server post.lurk.org

@whtrbt Oh. I'd love to use this with , my 1-bit graphics library: git.sr.ht/~pbatch/btprnt

#btprnt

Last updated 5 years ago

patchlore · @paul
699 followers · 8266 posts · Server post.lurk.org

I'm no typography connoisseur... my needs are pretty minimal. I want to be able to rasterize TTF fonts so that I can convert them to the macintosh bitmap font format. From there, I can use them in my macintosh font renderer I built for my 1-bit graphics library .

#btprnt

Last updated 6 years ago

patchlore · @paul
699 followers · 8266 posts · Server post.lurk.org

Some initial attempts to get to render fonts in the TrueType format.

Hoping to use this to generate fonts in the macintosh font format so I can use it with my macfont font renderer I wrote for .

#btprnt #bitmap #pixel #libschrift

Last updated 6 years ago

patchlore · @paul
699 followers · 8266 posts · Server post.lurk.org

Okay, this could be actually horrible, but I managed to embed dynamically generated images into html documents via my engine:

btprnt draws something to a buffer

buffer gets converted to an RGB buffer

RGB buffer gets converted to in-memory PNG via lodepng.

PNG gets converted to base64.

base64 gets inserted into HTML.

All this happens inside of a native plugin, which can be called inside of janet code inside of weewiki markup (which looks an awful lot like

Hoping this will be helpful as I begin to wrangle up some organically grown free-range documentation for .

#monolith #org #janet #weewiki #btprnt

Last updated 6 years ago

patchlore · @paul
699 followers · 8266 posts · Server post.lurk.org

Created a reference card for my rhythm computer using , and my font renderer. The file is procedurally generated using the scripting language.

#janet #macintosh #btprnt #trig

Last updated 6 years ago

patchlore · @paul
699 followers · 8266 posts · Server post.lurk.org

My font renderer in can now render things in a textbox, with automatic word breaks.

#btprnt #macintosh

Last updated 6 years ago

patchlore · @paul
699 followers · 8266 posts · Server post.lurk.org

The machine, now visualized using my 1-bit graphics library.

The program here consists of 3 64-bit words.

The first word writes the pattern "10".

The second pattern writes the pattern "1011".

The third pattern loops it back to the beginning.

As a result, the output is a repeating sequence of "101011101011101011..."

#btprnt

Last updated 6 years ago

patchlore · @paul
699 followers · 8266 posts · Server post.lurk.org

Got some initial glyph rendering happening using .

All worth it to see Susan Kane's 'M'.

#btprnt

Last updated 6 years ago

patchlore · @paul
699 followers · 8266 posts · Server post.lurk.org

Working on an ANSI C bitmap font renderer for classic macintosh fonts. Finally got a glyph to print to terminal and it feels great. Eventually this will be rendered via my monochrome bitmap interface.

Lots of shameless copy + paste work from this Objective-C project here: github.com/bzotto/ClassicMacTy

#btprnt

Last updated 6 years ago

patchlore · @paul
699 followers · 8266 posts · Server post.lurk.org

My 1-bit drawing library () can now copy buffers onto my RGB pixel art interface in as if it were a stencil or stamp. Nice to connect two efforts together.

All I have to show for it is a boring test picture, featuring colors from the color palette. Hopefully more things will come out of this.

#btprnt #monolith #vinik24

Last updated 6 years ago

patchlore · @paul
699 followers · 8266 posts · Server post.lurk.org

Can't sleep, so I decided to implement a waveform display for audio files using , my 1-bit graphics library I've been working on. Quite pleased with the results!

#btprnt

Last updated 6 years ago

patchlore · @paul
699 followers · 8266 posts · Server post.lurk.org

This took longer than I care to admit, but I managed to get a little reference card made for my line sequencer in using my library + .

Procedural graphics are a mentally draining task. I hope I can make things easier for myself in the future.

#monolith #btprnt #janet

Last updated 6 years ago

patchlore · @paul
699 followers · 8266 posts · Server post.lurk.org

Added some bindings for , which I think will prove to be very useful. As a proof of concept, I wrote a Janet program that uses btprnt to render itself to an image.

#janet #btprnt

Last updated 6 years ago

patchlore · @paul
699 followers · 8266 posts · Server post.lurk.org

Some rudimentary integer-based text scaling added. It's not really rich formatted text... just textboxes with hand-calculated positions.

#btprnt #grook #bitmap #monochrome

Last updated 6 years ago