Skip to content

Instantly share code, notes, and snippets.

John Luxford lux

Block or report user

Report or block lux

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
lux / QuaternionCompression.cs
Created Nov 12, 2019 — forked from StagPoint/QuaternionCompression.cs
C# - Use "smallest three" compression for transmitting Quaternion rotations in Unity's UNET networking, from 16 bytes to 7 bytes.
View QuaternionCompression.cs
// Copyright (c) 2016 StagPoint Software
namespace StagPoint.Networking
using System;
using UnityEngine;
using UnityEngine.Networking;
/// <summary>
/// Provides some commonly-used functions for transferring compressed data over the network using
View Instruction.cs
// <auto-generated>
// automatically generated by the FlatBuffers compiler, do not modify
// </auto-generated>
namespace Data
using global::System;
using global::FlatBuffers;
lux / SketchSystems.spec
Last active Feb 28, 2019
Camera System
View SketchSystems.spec
Camera System
Cut to Camera N -> Camera N
Move to Camera N -> Camera N
Camera N
Cut to POV -> POV
Move to POV -> POV
Cut to Camera N -> Camera N
Move to Camera N -> Camera N
lux /
Created Jan 9, 2018
Quick script ot convert a folder of gifs to mp4 with web-optimal settings (note: requires ffmpeg)
for i in *.gif; do
ffmpeg -i "$i" -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" "${i%.*}.mp4";
You can’t perform that action at this time.