Pinned Update #1

The Darc Library (C++) is now updated as of March, 2012. Click ▷here too browse the entire solution.

Sunday, December 23, 2012

Radio Silence

Phew, what a year.
I wonder if this still works...

Friday, August 10, 2012

Wide Characters

Here's how to output wide characters (i.e., wchar_t) to the console in Visual Studio 2010 using a Multi-Byte character set environment. Most likely, this option must be set manually since Microsoft suggest Unicode by default. This setting prevents certain functions from being changed to their <method>W versions but i guess that's a matter of taste. All it takes is a single call to _setmode() with the second parameter indicating the expected character type. In the case of UTF-16 (two bytes) this is _O_U16TEXT. After that, the character type can be switched back to ASCII using the _O_TEXT option.

:: CODE BLOCK ::
_setmode(_fileno(stdout), _O_U16TEXT);
std::wcout<<L"Hello World"<<L"\n";  
_setmode(_fileno(stdout), _O_TEXT);  
Wide Character Output

Of course, the console's font must be set to something that can handle all used characters (e.g., Lucida Sans Unicode). The complete Unicode table can be found ▷here.

Tuesday, August 7, 2012

Universal Joint

Concept model and example animation of a universal joint. Note the non-linear force transmission for greater angles in the middle of the video. The error can be nullified by coupling two joints with identical angles to the intermediate shaft (cf. second video).




Friday, July 6, 2012

Turtle

Cleaning up a fossil hard disk drive so here's some space glider from 2008 that i found today.

Sunday, June 17, 2012

Spider Draft

Concept design for a mechanical battle spider which will be modelled (maybe) and animated (maybe) later.

Thursday, June 14, 2012

Basic Armor (2)

Another concept design for a hazmat suit including a gas mask in comparison with the previous model.

Collatz Conjecture

Please keep in mind that the length of a ▷sequence doesn't really correlate with the initial number (with the exception of certain numbers).

Number Sequence