@cancel Could you relay my thanks to sigrid, this is my dream hex view :> I'll come on IRC in 5 more days..

Converted Sigrid's amazing hx editor into a spritesheet viewer for .

Completed my little .chr(famicom sprite format) file viewer util for , added context menu for zooming.

Thanks to @khm for showing me how to change the context menu :)

lucidasans.8

Messing with aiju's NES emulator.

I want to redo the keyboard scheme for the emulator, but first, gotta learn how Plan 9 apps handles keyboard controls.

Seems easy enough.

AH! Finally, the whole family is here. Managed to lint, assemble and run our NES games. can resume on

The code for making a GUI application with keyboard controls in basically fits in a toot.

The code for making a drawing app in fits also in a toot.

Listening to Lustre
doing computer graphics

Created a bunch of simple example projects!
wiki.xxiivv.com/site/plan9_c.h

Oh my god.

I've always thought 3D was this complicated thing, I would include these big libraries and frameworks to make 3d stuff, but in reality, all I needed was these 2 little functions?! Are you kidding me.

Wrote a tiny(200 loc) 3D wireframe engine for to teach myself geometry.

wiki.xxiivv.com/site/moogle.ht

This is so much fun.

Tried to implement an extrude function, that did not disappoint.

Listening to: Sixth June - Virgo Rising

Okay, let's call them pyramids.

Polygons, pyramids, frustums, prisms.

Wrote my first variadic function in C, added symmetry and extrude functions. Making little houses like this one is super simple.

The symmetry has an edge offset bug, but I'm trying to figure that one out, see the diagonal? not supposed to be there.

GAH, figured it out.

I realized this morning that I had no idea how to draw a simple color wheel. I wanna try to do one from scratch today without checking how it's supposed to be done.

Oh my goodness, today is going to be a lot of fun, I just know it.

Today I learnt about chromatic circles, it seems easy at first, but it's fucking not.

Made a simple color picker thing, implementing complementary colors now.

Still at it.. Trying to optimize a few things.

Rewrote the clock, I wanted to simplify the redraw so it doesn't clear the whole screen.

I've been thinking, I should make a little style guideline function to draw an overlay over the various things I'm working on to make sure they follow the same padding, ratios, etc.

wiki.xxiivv.com/site/plan9_clo

Made a tiny layouter in so I can follow some kind of styleguide across my different projects.

Made a little RC script that opens the same app in various windows sizes with/without the styleguide.

If you need to alignCenter or alignRight in .

stringsize(font, str)

Returns a Point with the size of the string draw region.

Building a couple of little utilities/widgets for

picker, clock, pomodoro, calendar, cpu stats, calculator, note..

Okay, making a HSV color picker from scratch was hard.

Next up, Nasu.

Screw this, I don't need internet connectivity to enjoy plan9..

Every day, as I learn new things with I revisit the clock code. I learnt a TON of new things today.

This rewrite gets rid of a flickering that existed from the original plan9 code by combining the different draws into a single one.

I will rewrite the color picker tomorrow..

wiki.xxiivv.com/site/plan9_clo

Rewrote the source for the clock and color picker code to use a single redraw, getting rid of the flickering, and also replaced sprint for snprint.
wiki.xxiivv.com/site/plan9.htm

· · Web · · ·

Today, I learnt how to read/write to the clipboard in , and how to create a middle click menu.

Taking a little break of writing tablet drivers to revisit my little 3d tool and implement the latest things I learnt.

Could be the beginning of something..

I might not be able to get my wacom tablet to work.. but at least I can do 6502 dev on and that cheers me the hell up.

I need to find a better fixed width font now.

That's a better font.

we've got a winner.

Started to scratch at the Donsol physical release project, here's @rek's gorgeous label art.

Grew tired of transcribing color codes, added Snarf/Paste to my little color picker.
wiki.xxiivv.com/site/plan9_col

Essential utility:
Sigrid's Fontsel

git.sr.ht/~ft/fontsel

@neauoire nice! Drawing everything to an image before flushing to the screen. Smart!

@neauoire might be able to save some cycles by allocating everything once, keeping the image reference between redraws and just drawing to it as if it was blank.

@neauoire not that it matters for this case but allocation is expensive.

@peregrine But I don't think I can change the size of the allocation, when the size of the window changes I would have to reallocate with a new size

@neauoire yea that would be when you would need to realloc. But since it is single threaded it should be safe to do so.

@peregrine I'll give it a try :)

@neauoire you do you I'm just mind dumping stuff. If it works its good. Pre-allocating is a per-optimization

@neauoire Excuse me for being completely off-topic (your apps for Plan 9 are awesome though), but do you happen to have a link to the wallpaper image?

@dvicente They're from a National Geographic post about retro cats, I don't have the link anymore, maybe you can find it :)

@neauoire why did you replace sprint with snprint? Was it an optimization to use a fixed size buffer, or just for memory protection?

@cone memory protection

@neauoire For some reason in every plan9 screenshot the first thing I read is the code you write to take the screenshot. Maybe you need a screenshot utility bound to a menu, next. :)

@peregrine I should.. I sometimes take the time to sleep 3; hide the window, but usually not.

@neauoire I really enjoy your adventures in plan9. Makes me want to get into it too.

@neauoire keep in mind when you read (up to) 30 bytes into a 30 byte array, that it leaves no room for a NULL terminator :)

@neutral oh! Good point, thanks :) Will fix.

@neauoire where's that wallpaper from?

@awalvie it's from a movie by the director of Valerie and Week of Wonders I think, I can't remember the name, I'll try to remember. It's a good movie..

@awalvie No wait, I think it's the same directory as On A Silver Globe, different guy..

@neauoire lots of names I've never heard of! New things are fun!

@neauoire something i've always wondered: how do you deal with only seeing 10 lines of text at a time when coding? or are you just resizing your editor for aesthetic purposes in screenshots?

@hierarchon I had a second acme window up on top left, but I used it to type the screenshot command, and people said it was distracting to see unrelated code on my screen, so now i sleep 5, and hide the unrelated windows.. The acme window at the bottom left only had some scene geometry stuff.

@hierarchon When I scroll up this thread, I think every single screenshot shows acme taking the full height no? Do you remember another screenshot?

@neauoire ... i must be misremembering or something, because yeah, all the other screenshots show it at the full height.

@neauoire you are writing all that on a Raspberry Pi?

@neauoire @huxel are you posting here from a second computer or does mastodon work with abaco/mothra?

@samhza @huxel I post here via a device running a chrome kiosk. It's the only way I can browse the web at the moment.

@neauoire hello i'm nicola and Terminus is my Lord

@flip I made a few fonts, but never made a pixel font for coding yet

@neauoire well it’s probably time then, right?

@flip not 100% sure how to make one for plan9 to be honest, I'll have to look into that.

@neauoire lol Russian phase is so funny ^_^

@neauoire I kind of like “fixed”, it's my choice at the moment, but sadly the zero and capital-o glyphs (0O) are too similar and easily mixed it has a few other shortcomings, too. At some point I would like to look into converting the UW Ttyp0 font to Plan 9's format 🤔

people.mpi-inf.mpg.de/~uwe/mis

@aperezdc oh wow that looks great! It's a bit thin tho, I like the bolder ones I think

@neauoire yes, I would go for the bold variant.

The thin regular (thin) variant could be an useful option at small sizes for small screens. The same goes for Terminus.

@neauoire @rek this is beautiful

@neauoire you should make a git repo with your plan9 scripts and utilities :}

@royniang That's exactly what I'm doing now ^__^

@royniang In the meantime, the color picker can be found here: wiki.xxiivv.com/site/plan9.htm

@neauoire @rek The hype is real

@neauoire I think if you applied your artistic sensibilities to Plan9's 1980s-era TWM-like UI, and made it cool-looking, it would spawn a huge increase in interest in it.

@bamfic I'm a bit careful about how I advertise plan9 at the moment, I'm not sure it's totally ready for most people, and I don't want people to try/abandon it because it's not documented properly. It's why I'm doing these experiments now :)

wiki.xxiivv.com/site/plan9_c.h

Merveilles is a community project aimed at the establishment of new ways of speaking, seeing and organizing information — A culture that seeks augmentation through the arts of engineering and design. A warm welcome to any like-minded people who feel these ideals resonate with them.