Lighting a large scene: DirectionalLight is the best simulation of daylight. But in a big world, you probably don’t want to light it all at once. You’ll need to update the light position and also it’s target position, what it uses to calculate it’s angle. The gotcha is: you have to run scene.add( light.target ) […]
set_cache, a workaround to bundlers. Use CLEAR_FILE to prevent accidental sed overwrites. Replace all query string numbers with $1 arg to set_cache.
running certbot with nginx on debian 10 for SSL certificates
The authoritative source: https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-debian-10 TLDR: A records in place for [url] and www.[url]basic server block in /etc/nginx/sites-available/[domain]sudo apt updatesudo apt install python3-acme python3-certbot python3-mock python3-openssl python3-pkg-resources python3-pyparsing python3-zope.interfacesudo apt install python3-certbot-nginx(https) : sudo ufw status if needed: sudo ufw allow ‘Nginx Full’sudo ufw delete allow ‘Nginx HTTP’ Lastly: sudo certbot –nginx -d your_domain -d www.your_domain […]
process monitor 2 list apps pm2 dashboard: start with custom name: reset app list: empty log files
a simple mp3 player
Spatial audio with howlerjs quickstart
a few hurdles I had getting started with spatial audio: How do I scale “my game space” to “howler space” Remember that howler’s pos() is arbitrarily different than your position units – I found that anything beyond approx 5 “howler units” was silent. In my game, 5 units is a tiny distance, so I was […]
practice new functions in the console; copy and paste all your Scene init boilerplate
a pocket reference Getting to know your system daemon Create your user-created service files in: The machine-created service files will go in: more in-depth: where do i put my systemd service file what is the difference between systemd system and user services Example a sample .service file, at /etc/systemd/system/hello.service: *common mistake – make sure to […]
WordPress “Anonymous Fox” virus port mortem
Here are notes from a malware investigation, of which I would later learn goes by “Anonymous Fox”, the supposed pseudonym of the malware author. Here’s notes from the timeline: Earliest logs The logs begin at the end of August 2020, although unfortunately it’s likely the compromise occurred earlier. A successful request for a questionable sitemap […]
A curriculum matchmaking app for teachers and professors around the world interested in collaborating.
all the news that’s fit to feed
make your own Reddit browser
Reddit exposes all their subreddits (and just about everything else too), to public RSS feeds. This means you can do all sorts of fun automation with it. Here’s a quick recipe to get it up and running on standard shared LAMP hosting, such as you might have for a WordPress. [ DISCLAIMER ] – it […]
Coded a multiplayer board game using HTTP polling, enabling it to be dropped on any server running php and work out of the box. No rules are coded; it is up to the participants to play their own game.
An art gallery for anyone to hang art
Custom framerate for Threejs
Trying to build a browser MMO on a $5 server.
Artist portfolio of Gail Vachon, NYC
draw things, share things