Getting code_swarm to work
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
|#~/Code/shifts is a github project I've been working on|
|## Complete prerequisites on https://github.com/rictic/code_swarm|
|## Clone the repo, patch it|
|git clone git://github.com/rictic/code_swarm.git|
|# one commit was giving me trouble, and I don't know how to pull request a better solution|
|git revert f15334b|
|## Setup code_swarm command = add code_swarm to .bashrc|
|# Open a new terminal window to get the changes to .bashrc|
|## go to the directory of an existing project and run code_swarm|
|## Cancel it or wait until the end|
|## Edit the .config (in the projects folder) so that it will record images|
|## run it again|
|#to create the video|
|ffmpeg -f image2 -r 24 -i %05d.png -sameq ./out.mov -pass 2|
|#Before making the next video, you have to delete the frames from code_swarm_frames|
Put these errors and solutions into github issues so it might help other people! Now you can search the repo for these errors if/when they happen to see a solution.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Just tried this again, here's what it took lol
code_swarmit couldn't find
[Fatal Error] log.xml:1:1: Premature end of file.
.code_swarm/log.xmlfrom the directory I was in.
Exception in thread "Animation Thread" java.lang.IllegalAccessError: tried to access field processing.core.PFont.size from class code_swarmwhich seems to come from
snapshots=truechange and voilá!