3 ms·
i was surprised recently to find that tightvncserver didn't display this stipple and cursor when started up without any x-windows clients; now i know why. to m
by kragen 2y ago
i was surprised recently to find that tightvncserver didn't display this stipple and cursor when started up without any x-windows clients; now i know why. to me they bring back memories not of configuring xfree86 (which was easy since i didn't get my own computer until 01996 and didn't equip it with a leading-edge graphics card) but of using x-terminals at the university starting in 01992. the xdm login screen had the default stipple and x cursor
but i guess matt t proud is a youngster, or maybe had enough money to have his own linux-capable computer when xfree86 was hard to configure
what's the best 1-bit-deep stipple pattern for this kind of thing? the zorzpad display (same as the playdate one) is 175 dpi and has a lovely deep black but no grays. the x-windows weave pattern cited here seems like a pretty nice option if you're constrained to 4×4:
# # # .
# . # #
# # . #
. # # #
but i'm not
- matttproud 2y agoI'm older than I'd like to be. I felt like a fossil writing the article.
- kragen 2y agowell, the alternative to being old is being dead
- diydsp 2y agoTo really stress it out, I would use both 0 to 1 and 1 to 0 transitions in the horizontal direction. Also, I would use a 2-on, 2-off pattern. e.g. # # # . # # . . # . . . # . # .
- kragen 2y agolike this? http://canonical.org/~kragen/diydsp-stipple.png http://canonical.org/~kragen/diydsp-stipple.png it's slightly more ornamental than pure black or white, or just vertical lines or something, but it doesn't really seem aesthetically preferable to the old x boot stipple
- kragen 2y agoi wrote a quick hack program to edit that 4×4 stipple https://gitlab.com/kragen/bubbleos/blob/master/yeso/stipple.c https://gitlab.com/kragen/bubbleos/blob/master/yeso/stipple.... and recorded a short screencast of using it http://canonical.org/~kragen/stipple.mp4 http://canonical.org/~kragen/stipple.mp4
- diydsp 2y agocool!! what is this amazing little yeso.h library?! My googling is coming up empty... btw, a cool platform to experiment with things like this is the Commodore 64... You can fill the 40x25 screen with the same 8x8 character, then modify that character and it fills the whole screen. This can also be be expanded to make cool animations and whatnot.
- kragen 2y agothere's a readme at https://gitlab.com/kragen/bubbleos/-/tree/master/yeso https://gitlab.com/kragen/bubbleos/-/tree/master/yeso. it's about 19 kilobytes, has c, python, and lua bindings, and runs on x-windows or the linux framebuffer. feedback is welcome i never had a working c64, but i did what you're describing on the c64 on the ti-99/4a, and it's pretty similar to how vga text modes and the nintendo work as well. it was an important technique when 64k was a lot of ram and cpus were slow enough that you couldn't rewrite the whole framebuffer every frame (much less generate the video waveform on the fly in software). nowadays it just saves you five lines of code for (int y = 0; y < fb.size.y; y++) { ypix *p = yp_line(fb, y); for (int x = 0; x < fb.size.x; x++) { char sc = stipple[(y % 4) * 8 + (x % 4) * 2]; p[x] = (sc == '.' ? 0 : -1); } } a modern equivalent might be fragment shaders like https://www.shadertoy.com/view/XtcBWH https://www.shadertoy.com/view/XtcBWH, which i made six years ago; like the stipple pattern we started out this thread with, it simulates the appearance of woven cloth or basketry