Skip to content

Instantly share code, notes, and snippets.

View Avantgarde95's full-sized avatar
😺
Working

Hunmin Park Avantgarde95

😺
Working
View GitHub Profile
@Avantgarde95
Avantgarde95 / FlyCamera.cs
Created April 12, 2019 08:39 — forked from gunderson/FlyCamera.cs
Unity Script to give camera WASD + mouse control
using UnityEngine;
using System.Collections;
public class FlyCamera : MonoBehaviour {
/*
Writen by Windexglow 11-13-10. Use it, edit it, steal it I don't care.
Converted to C# 27-02-13 - no credit wanted.
Simple flycam I made, since I couldn't find any others made public.
Made simple to use (drag and drop, done) for regular keyboard layout
@Avantgarde95
Avantgarde95 / gifextract.py
Created April 16, 2016 17:31 — forked from BigglesZX/gifextract.py
Extract frames from an animated GIF, correctly handling palettes and frame update modes
import os
from PIL import Image
'''
I searched high and low for solutions to the "extract animated GIF frames in Python"
problem, and after much trial and error came up with the following solution based
on several partial examples around the web (mostly Stack Overflow).
There are two pitfalls that aren't often mentioned when dealing with animated GIFs -