Can you automate the drawing with a script? On X11, you can:
#!/bin/sh
# Position the pointer at the center of the dot, then run this script.
sleep 1
start=$(xdotool getmouselocation --shell)
eval $start
r=400
steps=100
down=0
for step in $(seq $((steps + 1)) )
do
# pi = 4 * atan(1)
new_x=$(printf '%s + %s * c(%s / %s * 2 * (4 * a(1)))\n' $X $r $step $steps | bc -l)
new_y=$(printf '%s + %s * s(%s / %s * 2 * (4 * a(1)))\n' $Y $r $step $steps | bc -l)
xte "mousemove ${new_x%%.*} ${new_y%%.*}"
if ! (( down ))
then
xte 'mousedown 1'
down=1
fi
done
xte 'mouseup 1'
xte "mousemove $X $Y"
Interestingly, you can abuse the scoring system (not manually, only with a script). Since the mouse jumps to the locations along the circle, you can just use very few steps and still get a great score because every step you make is very accurate – but the result looks funny:
🥴
@aelaraji@aelaraji.com oh yeah! You will feel in heaven, me thinks, because that new machine will go around the Pi a few laps. Have fun, mate!
That’s a great idea. I am running GoToSocial in a local server (like Raspberry Pi) and it’s working fine.
#genuary #genuary2025 #genuary17 Maybe related to today prompt: What happens if pi=4? https://youtu.be/tGfUaZ8hTzg
should put together my new pi and set up the DIY KVM thing i’m doing but ehhh tired
So, I had a talk with the CFO last night about this. Nothing to be gained yet, but baby steps. I think we might be able to get one for Christmas. That is, if there is any left. These little things are flying off the shelves like hot apple pies!
@falsifian@www.falsifian.org the reason behind his sporadic disappearances is that he runs things from a Raspberry Pi, at home, I believe. That impacts reliability, I figure.
I run Plan 9 on my server and my main home workstation (a raspberry pi). My “daily driver” time is basically split between that and a Mac (excluding time on my phone, i suppose). I think it looks elegant, too. :-)
Finally found the time to set up my Raspberry Pi to do something useful. It was on my shelf for only three years or so.
sometimes i think i should return to a cleaner state of mind, abandon all big never-to-be-finished projects, and write simple text-processing utilities on a raspberry pi running plan 9, improvising fractile jazz over a lonely lake and spend most of my remaining time meditating.
actually, scratch the “pi-” prefix, why not make “ĉit-” the prefix?
This pi will now boot directly to ed if the gpio pin is grounded at boot time. ed(1)term v1. :-) http://txtpunk.com/edterm/
@lyse This was basically a trial/proof-of-concept for the real goal: a switch which, if on at boot time, causes the pi to boot straight to ed.
I made a gpio button on my raspberry pi which opens a new window running ed. I screwed up while testing it and launched maaaaany ed windows.
Dug out my old usb audio device and now my Plan 9 raspberry pi can play music. 💯
For sure. The pi progresses normally until it prints that it’s initializing the keyboard, at which point the keyboard spends ~30 seconds beeping.
I just timed it: 59 seconds for my Raspberry Pi to boot, 33 of which is waiting for my keyboard firmware to initialize. That’s just absurd.
Someone brought us pie for Pi Day. 💯
On the up side: I got my first successful comunication over i2c on Plan 9 on a Raspberry Pi today! Looking forward to playing with that more.
Thanks to a pointer from Richard Miller, got screen rotation working on my Pi 4s. Makes this absurdly wide display more practical.
a minimal MIT licensed chain loader for multiple architectures, including pi4. found via raspi3 baremetal tutorial link (same author): [[https://gitlab.com/bztsrc/imgrecv]] #pi4 #baremetal #links #pi
bare-metal programming on a raspberry pi 3, a tutorial: [[https://github.com/bztsrc/raspi3-tutorial]] #links #pi #pi3 #baremetal #lowlevel #c
created a page on bare metal development on a pi !pi_baremetal
Love Anime? You NEED to See Alita: Battle Angel - YouTube https://www.youtube.com/watch?v=iWwHtMAj_pI
What’s wrong with the Raspberry Pi – Own your bits https://ownyourbits.com/2019/02/02/whats-wrong-with-the-raspberry-pi/
Topology of Numbers http://pi.math.cornell.edu/~hatcher/TN/TNpage.html
Bad idea of the day: A small dedicated machine (like a chumby, maybe based on the raspberry pi) that ships with ipfs & ssb/patchwork, casts from ipfs or peertube to TVs.
Pocket-size Pi Zero Desktop features e-paper Display | Hackaday https://hackaday.com/2018/06/04/pocket-size-pi-zero-desktop-features-e-paper-display/
Yeah, this is almost exactly what I did too: https://www.theverge.com/circuitbreaker/2017/7/27/16035508/diy-wearable-computer-google-glass-raspberry-pi-instructions
Bad idea of the day: Raspberry Pi based seedboxes built into your shoes, connecting to every open network, and trying to break into every not-open one.
Checking to see if a twtxt is currently syncing over to my raspberry pi web server.