Skip to content

Instantly share code, notes, and snippets.

View truedat101's full-sized avatar
💭
vr / ai / iot

David J. Kordsmeier truedat101

💭
vr / ai / iot
View GitHub Profile
@truedat101
truedat101 / gist:d9836e1cb5b52825c29d8e1bff00c62d
Created December 19, 2025 21:34
Lens Studio Sprite Animation Sheets
From reddit: https://www.reddit.com/r/Spectacles/comments/1pqe456/comment/nuxh5ba/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
So I think what you are looking for is the ability to handle a sprite sheet.
Think of a sprite sheet like a film strip laid out in a grid. Instead of loading dozens of separate files, the game loads one big image and just "scrolls" through parts of the images.
For example:
Frame 0: Row 0, Col 0
Frame 1: Row 0, Col 1
@truedat101
truedat101 / gist:9cb5dfdb71bd5405ef58aa06f4320792
Last active December 19, 2025 21:32
A gist is a breadcrumb for a weary traveller looking for how to install magicffi (libmagic) on mac os x silicon mac
This fixes a magic.h not found !
brew reinstall libmagic pkgconf
export CPPFLAGS="-I$(brew --prefix)/include $CPPFLAGS"
export LDFLAGS="-L$(brew --prefix)/lib $LDFLAGS"
export PKG_CONFIG_PATH="$(brew --prefix)/lib/pkgconfig:$PKG_CONFIG_PATH"
then run your lisp, and install
@truedat101
truedat101 / sun-booklet.md
Created September 4, 2025 00:27 — forked from vladak/sun-booklet.md
Sun Microsystems - What we must do

Sun Microsystems - What we must do

A 2005 booklet with mission statement from Scott McNealy.


What we must do.

Participate or perish ?

import {
withAlpha,
withoutAlpha,
} from "SpectaclesInteractionKit.lspkg/Utils/color";
import InteractorLineRenderer, {
VisualStyle,
} from "SpectaclesInteractionKit.lspkg/Components/Interaction/InteractorLineVisual/InteractorLineRenderer";
/**
* This class provides visual representation for a spline curve through a series of control points.
@truedat101
truedat101 / p4merge.md
Last active March 28, 2025 08:32 — forked from cmatskas/p4merge.md
Set up p4merge as the default merge and diff tool in Git (for mac os x, 2025)

Assuming that P4Merge was installed in the default location on Windows, i.e 'C:\Program Files\Perforce\p4merge.exe' then the following commands will configure p4merge as the default tool for both merge and diffs in Git

Set up commands

git config --global diff.tool p4merge
git config --global difftool.p4merge.path '/Applications/p4merge.app/Contents/MacOS/p4merge'
git config --global merge.tool p4merge
git config --global mergetool.p4merge.path '/Applications/p4merge.app/Contents/MacOS/p4merge'
@truedat101
truedat101 / MIT_Reality_Hack-Personal_Hardware Inventory2025.txt
Last active January 23, 2025 22:22
MIT Reality Hack - Personal Hardware Inventory 2025
- Raspi4 + Touch Screen
- Raspi Zero W
- M5Stack SR3 Cam
- M5Stack Cam S3
- M5Stamp ESP32S3
- M5Stack Nano C6
- Xiao ESP32C3
- SEEED AI Cam v2 (this can run AI models from sensecraft)
- SEEED XIAO MMWave daughter board 24Ghz (I couldn't get this to work right but maybe you can)
- [ ] Book Reader for Vision Pro
- [ ] ASMR Immersive Room (for reading or work or relaxtion)
- [ ] Spatial Crypto Wallet (XRP or Polygon)
- [ ] VisionPro Meshtastic App
- [ ] Bevy/VisionPro Starter App
- [ ] BGFX/VisionPro Starter App (2D or 3D gaming)
- [ ] rust wgpu VisonPro Starter App
- [ ] bgfx/VisionPro Starter App
- [ ] External Camera Controller App
- [ ] Spatial Content Streaming on AVP
@truedat101
truedat101 / simple-git-branching-model.md
Created January 13, 2025 08:27 — forked from jbenet/simple-git-branching-model.md
a simple git branching model

a simple git branching model (written in 2013)

This is a very simple git workflow. It (and variants) is in use by many people. I settled on it after using it very effectively at Athena. GitHub does something similar; Zach Holman mentioned it in this talk.

Update: Woah, thanks for all the attention. Didn't expect this simple rant to get popular.

@truedat101
truedat101 / ideas_for_visionpro_weekend_projects
Created March 28, 2024 06:19
Ideas for VisionPro weekend projects
- [ ] IoT wearables for VisionPro
- [ ] IoT digital twins for VisionPro
- [ ] Raylib (RayFork) port to VisionPro, with an Arcade console
- [ ] Rearview mirror VisionPro (with a camera)
- [ ] "Bootstrap" widget set for VisionPro
- [ ] Audio Lab for VisionPro
- [ ] IoT lighting guesture controller
- [ ] Gaussian Splattering for VisionPro for immersive environments
@truedat101
truedat101 / gist:8d1c9f5877ae0465e1f678327c5ef099
Created June 26, 2023 04:31
Set up Godot4/OpenXR + Quest2
# Overview
There are a bunch of official docs to review in order to get Godot 4 working in the context of OpenXR + a Quest2.
This gist attempts to summarize for those who struggle to collect documentation spread out across many links and entry points
into this topic.
## Docs
- https://docs.godotengine.org/en/stable/tutorials/xr/deploying_to_android.html
- https://docs.godotengine.org/en/stable/tutorials/xr/setting_up_xr.html#doc-setting-up-xr