Skip to content

Instantly share code, notes, and snippets.

View sergiobd's full-sized avatar

Sergio Bromberg sergiobd

View GitHub Profile
@Dan-Piker
Dan-Piker / Moebius3d
Last active March 27, 2024 08:06
Moebius transformations in 3d
//Moebius transformations in 3d, by reverse stereographic projection to the 3-sphere,
//rotation in 4d space, and projection back.
//by Daniel Piker 09/08/20
//Feel free to use, adapt and reshare. I'd appreciate a mention if you post something using this.
//You can also now find this transformation as a component in Grasshopper/Rhino
//I first wrote about these transformations here:
//https://spacesymmetrystructure.wordpress.com/2008/12/11/4-dimensional-rotations/
//If you want to transform about a given circle. Points on the circle and its axis stay on those curves.
//You can skip these 2 lines if you want to always use the origin centred unit circle.
@hon454
hon454 / SteamVR_TrackingWithoutHMD.cs
Last active October 2, 2023 19:06
[SteamVR][Unity] Tracker tracking without HMD
using UnityEngine;
using Valve.VR;
public class SteamVR_TrackingWithoutHMD : MonoBehaviour
{
private CVRSystem _vrSystem;
private TrackedDevicePose_t[] _poses = new TrackedDevicePose_t[OpenVR.k_unMaxTrackedDeviceCount];
// initialize
void Awake()
@nickkraakman
nickkraakman / ffmpeg-cheatsheet.md
Last active September 5, 2024 22:24
FFmpeg cheat sheet for 360 video

FFmpeg Cheat Sheet for 360º video

Brought to you by Headjack

 
FFmpeg is one of the most powerful tools for video transcoding and manipulation, but it's fairly complex and confusing to use. That's why I decided to create this cheat sheet which shows some of the most often used commands.

 
Let's start with some basics:

  • ffmpeg calls the FFmpeg application in the command line window, could also be the full path to the FFmpeg binary or .exe file