This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
import bpy | |
# Create a "template" object with the physics to copy from | |
scene = bpy.context.scene | |
scene.objects.active = bpy.data.objects["template"] | |
for obj in scene.objects: | |
if obj.type == 'MESH': | |
obj.select = True |
import schedule | |
import time | |
def job(): | |
print("I'm working...") | |
schedule.every(10).minutes.do(job) | |
schedule.every().hour.do(job) | |
schedule.every().day.at("10:30").do(job) |
rate = 1; // 2 = 2x speed | |
clockStart = 0; //negative for countdown | |
function padZero(n){ //utility | |
if (n < 10) return "0" + n else return "" + n | |
} | |
clockTime = clockStart + rate * (timeToFrames(t = time + thisComp.displayStartTime, fps = 1.0 / thisComp.frameDuration, isDuration = false) - inPoint); //inPoint means layer start. | |
if (clockTime < 0){ // negative sign for countdown |
``` | |
ffmpeg.exe -r 25 -i image%04d.png -vcodec libx264 output.mp4 | |
``` | |
syntax | |
ffmpeg.exe -r fps -i input -vcodec codec output.ext |
/* ************************************************************************** */ | |
/* */ | |
/* ::: :::::::: */ | |
/* test_libc.c :+: :+: :+: */ | |
/* +:+ +:+ +:+ */ | |
/* By: tbayri <tbayri@student.42.fr> +#+ +:+ +#+ */ | |
/* +#+#+#+#+#+ +#+ */ | |
/* Created: 2016/11/04 12:31:58 by tbayri #+# #+# */ | |
/* Updated: 2016/11/15 15:19:04 by tbayri ### ########.fr */ | |
/* */ |
valgrind --track-origins=yes [binary] |
# **************************************************************************** # | |
# # | |
# ::: :::::::: # | |
# Makefile :+: :+: :+: # | |
# +:+ +:+ +:+ # | |
# By: tbayri <tbayri@student.42.fr> +#+ +:+ +#+ # | |
# +#+#+#+#+#+ +#+ # | |
# Created: 2017/03/21 14:13:56 by tbayri #+# #+# # | |
# Updated: 2017/03/21 14:50:00 by tbayri ### ########.fr # | |
# # |
/* ************************************************************************** */ | |
/* */ | |
/* ::: :::::::: */ | |
/* main.c :+: :+: :+: */ | |
/* +:+ +:+ +:+ */ | |
/* By: tbayri <tbayri@student.42.fr> +#+ +:+ +#+ */ | |
/* +#+#+#+#+#+ +#+ */ | |
/* Created: 2017/03/21 12:43:05 by tbayri #+# #+# */ | |
/* Updated: 2017/05/13 18:38:25 by tbayri ### ########.fr */ | |
/* */ |
''' | |
Position Swapper 0.0.1 | |
tbayri <tayeb.dev> | |
<Do cool shit with it> kinda license | |
''' | |
import c4d | |
from c4d import gui | |
# Unique id numbers for each of the GUI elements |