A while ago, I wrote this article about a simple implementation of an Arcball camera in C++. In it, I described how that could get done without using Quaternions, spherical coordinates, or a lookAt function. Anyway, just out of curiosity, I decided to create a minimal implementation of an orbiting arcball camera in C# using spherical coordinates.Continue reading How to program an arcball (orbiting) camera in Unity using spherical coordinates
Visit this page for a Unity3D example using spherical coordinates.
I recently had to implement a drag and drop camera feature for a college course. The OpenGL program, we had to submit, had to contain a camera that can be controlled by moving the mouse around. The camera itself should always look at a fixed point in the 3D space while being rotated on two different axes like it’s stuck to the inside of a sphere.Continue reading How to program an arcball (orbiting) camera in C++ and OpenGL
Shift registers can be used in a wide variety of applications. You can, for example, use them to convert multiple parallel data lines to a single serial line and vice-versa. This technique can be used to extend the number of available in- and outputs of a microcontroller and this article will show you how you can achieve this.Continue reading Serial to parallel and parallel to serial conversion with shift registers
An updated guide for iOS 13 and phones, that support the Permissions API, is available here!Continue reading Read smartphone accelerometer data on a website
When you build custom projects you eventually get to a point where you want to design a custom case for your product. If you are not interested in learning complicated and expensive CAD software, Tinkercad is the way to go. It’s super easy to learn and to use and it has all the basic features needed for designing custom enclosures for your electronic projects.Continue reading Introduction to Tinkercad and 3D printing
While sockets are no new concept for me, I recently had to write an application in C that uses sockets to communicate. And while trying to figure out, what the best way of doing so is, I came across a lot of tutorials. But most of them either completely missed the point, were too complicated or used obsolete functions in the code. In this article, I want to try to give you a simple and short overview of sockets and an up to date ‘hello world’ example for a client and a server application. Continue reading C sockets – A hello world introduction
I’m currently working at a custom messaging system, which will users to exchange encrypted messages. To achieve this I bought an ENC28J60 powered ethernet module, which can be used to connect an Arduino to the Internet (or any other microcontroller that supports SPI). In this short article, I want to show you how to connect this module and get it up and running in no time! Continue reading How to connect your Arduino to the Internet with the ENC28J60