Skip to content

Instantly share code, notes, and snippets.

View ertdfgcvb's full-sized avatar

Andreas Gysin ertdfgcvb

View GitHub Profile
#!/bin/sh
# ------------------------------------------------------------------------------
# Uses ImageMagick to create an animated GIF from an image sequence and by using
# a common palette.
# Note: Providing a palette speeds up the encoding but can be disabled
# by removing the “remap” option.
# The resulting GIF is passed to “ImageOptim” for filesize reduction.
# Note: could eventually be replaced with Gifsicle or left out entirely.
#
# ------------------------------------------------------------------------------
#!/bin/sh
# ------------------------------------------------------------------------------
# Uses FFmpeg to create an H.264 encoded MPEG-4 movie at 30 fps from
# an image sequence; filesize/quality can be tuned with the second parameter.
#
# ------------------------------------------------------------------------------
# Usage:
# > sh makemovie.sh imageFolder 20
# - imageFolder is a folder containing the images
# - 20 is an optional constant rate factor value,
-- Frameworks ----------------------------------------
Processing (Java)
http://processing.org
OpenFramewroks (C++)
http://openframeworks.cc
Cinder (C++)
http://libcinder.org
@ertdfgcvb
ertdfgcvb / Sequencer.cs
Last active April 15, 2018 19:03
Sequencer (Unity)
using UnityEngine;
using System.Collections;
public class Sequencer : MonoBehaviour {
/*
* Sequencer v0.3
* This script allows to dynamically load numbered image sequences into a texture.
* The images must reside insie the "Assets/Resources" folder.
* path: