view the live demo here: http://ninreanimated.herokuapp.com
above, vectorized version of "Star Fuckers Incorporated" music video
At the moment, mankind is quickly destroying the Earth's natural environment and each other. Spaceship Earth helps us see the Earth as a permanent home, rather than something we are simply going to ditch in a couple billion years when the sun becomes a hostile red giant star. We need to start working together now to clean up the environment, and make sure all races and cultures can first live in peace, and then voluntarily cooperate to create this mega structure. No other species can save the planet, so we better step up and get to work now on a real peace plan.
After living in peace and harmony for millions of years, humanity and the entire earth reach relativistic speeds.
Created with Blender 2.74
Not every type of video needs high resolution and frame rates to look good. For music videos, 4K at 60fps is overkill, and a waste of bandwidth and power. Traditional video compression operates only on pixels, and removes detail in low contrast areas, leading to blocky artifacts.
My compression technique is optimized for a stylized output, and a much smaller data stream. It mixes SVG vector graphics with super compressed low resolution video. The video stream is resized to 240 pixels wide, and frame rate dropped to 8fps, this makes the file 10X smaller than the original compressed version. The backend pre-computes the SVG each frame using Potrace. Each SVG file is recompressed with SVGO, which can reduce the file size by another ten percent or more. As the video plays it triggers reloading of the SVG overlay frame, to compensate for the delay, the server is hardcoded to return two frames ahead of the requested frame.
You can view the live demo at heroku. Note this is a free and limited account, so if the site gets busy try again later. http://vectorvideo.herokuapp.com note: heroku is limiting my connection rate, so svg playback is limited to 4fps
Get my fork of Unreal Engine https://github.com/rusthon/UnrealEngine this fixes some c++11 issues and makes it compatible with my new project Rusthon, see this example plugin that links in a dynamic library and prints hello world. You can compile the plugin by running:
git clone https://github.com/rusthon/Rusthon.git cd Rusthon ./rusthon.py ./examples/unreal_plugin.md --run=install-plugin.py --output-dir=~/Documents/Unreal\ Projects/MyProject
Unreal has an build system based on C# scripts, and a naming convention that requires you to keep your folders, files and class names in sync. You also need to setup your includes to pull in from a single header, the so called "PCH" (pre-precompiled-header). The other problem in getting started with a simple plugin are most of the Unreal docs focus on Windows and OSX, and not command line usage from Linux. It took me awhile to figure out that Unreal was caching the build files, and how to properly clear them in the install script. See the install script at the top of unreal_plugin.md
import TestPluginPrivatePCH.h import ITestPlugin.h @extern def hello_rusthon() -> int: pass class FTestPlugin( ITestPlugin ): @virtualoverride def StartupModule(): print 'HELLO MYPLUGIN XXXXX' a = hello_rusthon() print a ## should print 99 print 'GOING TO QUIT UNREAL NOW' raise std::exception() @virtualoverride def ShutdownModule(): print 'MYPLUGIN EXIT' macro("IMPLEMENT_MODULE( FTestPlugin, TestPlugin )")
This weekend I teamed up with Steve Favis on a nearly nonstop 30 hour hackathon for NASA SpaceApps 2015. We developed a navigation system that takes into account the physics of possible future events and jumping to reach its target goal. Checkout Steve's twitter for more info: @stevefavis
The Pypubjs IDE can now export to Android using Phonegap. This requires installing PhoneGap and the Android SDK. Phonegap is easily installed with one command sudo npm install -g phonegap. The Android SDK is more work to setup, download it and set your PATH environment variable to include: /tools and /platform-tools. You also need Oracle's Java, here is the steps I did to get it running in Ubuntu:
sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java7-installer sudo apt-get install ant export JAVA_HOME=/usr/lib/jvm/java-7-oracle
I have integrated a new backend into PythonJS that translates Python code into a visual graph using vis.js. You can load code into the Pypubjs editor, and by clicking "graph" it will run the translation in the background and display the graph in a new window. This can be helpful if you are working with code written by someone else, and need a way to quickly understand it at a higher level.source code
I had posted earlier this month about the garbage polluting the river that flows into Tarlac City here. 30Km downstream in the center of Tarlac City, things get much worse.
Passing through the city I often see people of all ages fishing in the river, despite its extreme level of pollution. Today I saw four young boys with a battery and two long prods shocking fish to catch them. They were also collecting coconuts from the river.