This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ct — Claude worktree helpers for parallel work | |
| # https://gist.github.com/craigsc/46979018ee28788602d3452fb08ef814 | |
| # | |
| # Lightweight zsh functions for managing git worktrees, designed for | |
| # running multiple Claude Code sessions in parallel on the same repo. | |
| # | |
| # Each worktree gets its own branch and directory, with configurable | |
| # symlinks so you don't have to reinstall dependencies every time. | |
| # | |
| # Functions: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // View+WindowGeometryPreferences.swift | |
| // | |
| // Created by Drew Olbrich on 1/30/24. | |
| // Copyright © 2024 Lunar Skydiving LLC. All rights reserved. | |
| // | |
| // MIT License | |
| // | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy | |
| // of this software and associated documentation files (the "Software"), to deal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // ScaledVolumeContentView.swift | |
| // VolumeScaleExample | |
| // | |
| // Created by Drew Olbrich on 11/6/23. | |
| // Copyright © 2023 Lunar Skydiving LLC. All rights reserved. | |
| // | |
| // MIT License | |
| // | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { useEffect, useRef, useState } from 'react'; | |
| import { useFrame, useThree } from '@react-three/fiber'; | |
| import { MapControls, OrthographicCamera, PerspectiveCamera } from '@react-three/drei'; | |
| import type { OrbitControls as OrbitControlsImpl } from 'three-stdlib'; | |
| export function Camera() { | |
| const [oldType, setOldType] = useState('PerspectiveCamera'); | |
| const [coords, setCoords] = useState({ x: 0, y: 0 }); | |
| const gl = useThree((state) => state.gl); |