Tag: coding

Fast Discrete Approximation of Natural Neighbor Interpolation in 3D

Fast Discrete Approximation of Natural Neighbor Interpolation in 3D

Natural Neighbor is an interpolation scheme suitable for scattered data. It is based on weighted average approach and uses Voronoi diagram to determine relative contribution of given data points. Weights are defined as ratio of area “stolen” from known data points in the diagram by adding an interpolated data point […]

QNarrowTreeView – a tree view that will never horizontally overflow a viewport

QNarrowTreeView is a BSD-licensed Qt widget using novel UI to represent tree models without growing horizontally while expanding items. SOURCE CODE: narrow_tree.zip

ScreenScroller – Control any Android device with just one hand

It was bound to happen. A geek left alone for Easter must’ve resulted in a new piece of software 😉

Cross-platform super lightweight one file qsub replacement

Useful for people running their jobs on UNIX clusters, who for some reason need from time to time to launch them on Windows with business logic similar to original qsub command. It works like this: starts an HTTP server which is running 8 worker threads (adjust to the max number […]

Unity3D Indie (Free) Portal Effect Project Sources

Hello everyone! Due to popular demand finally I’m releasing project sources of the Unity3D Indie Portal Effect. In two words, the technique is based on using multiple cameras (3 in this case) and then selectively drawing just Z-values of the portal gates in the 1st pass so that they leave […]

WebPong – instant WebSockets-based multiplayer mode

WebPong was supposed to be a multiplayer clone of Pong running on WebSockets and WebGL/BabylonJS library for 3D graphics. As it turned out that pong in real 3D (6 degrees of freedom) isn’t really that much fun, I decided to convert it into a simple ball shooting game with a […]

SpotCmd – launching Terminal commands from Mac OS X Spotlight

If you craved for launching Terminal commands from your Spotlight search window, today is your lucky day. I also had that wish and dedicated my whole Sunday to master the arcanes of mach_inject, taskgated, self-signed certificates, Hopper disassembler, class-dump, security add-trusted-cert, macinstallerapp, etc. etc. in order to deliver you this […]

Numerical string sorting in Clojure

Time for a bit of functional programming nostalgia. As Wikipedia mentions – http://en.wikipedia.org/wiki/Collation#Issues_with_numbers and hundreds of posts from interested people all over the Internet confirm – it is sometimes useful to have strings sorted using their numerical components. The simple algorithm below handles this task as it seems most reasonable […]

Unity3D 4 Indie (Free) Portal Effect With No Stencil And No Render To Texture

This effect has been achieved using a smart setup of 4 cameras and custom shaders writing to depth buffer only. Neither stencil buffer not render textures have been used as they are unavailable in the free version of Unity3D. This technique allows also for perfect rendering of mirrors and water […]

Extending Mac Activity Monitor with Process Suspend/Resume

I recently bought myself a MacBook Air. It’s my first Apple product ever, although I’ve been messing with their software before using PearPC and Hackintosh kinds of setups. Anyway, MBA as you know has an absolutely outstanding battery lifetime. Even without taking care about what and how you’re running you […]