Quantcast
Channel: Programming Archives - Alan Zucconi
Browsing latest articles
Browse All 39 View Live

GPU Sorting

You can read the full series here: Part 1. GPU Sorting Part 2. GPU Sorting You can find a link to download the Unity source code at the end of this tutorial. Introduction In the previous part of this...

View Article



Arrays & shaders: heatmaps in Unity

This tutorial explains how to pass arrays to shaders in Unity. This feature has been present for a long time, but is mostly undocumented. Unity 5.4.0 Beta 1 will introduce a proper API to pass arrays...

View Article

How to Write Libraries for Arduino

This tutorial explains how to create C++ libraries in Arduino. Introduction Step 1. Setting up Step 2. The Header Step 3. The Body Step 4. The Keywords Conclusion & Downloads Introduction For this...

View Article

The Top 5 Easter Eggs in Python

Despite being a very serious language, Python is full of Easter eggs and hidden references. This post shows the top 5: Hello World… The Zen of Python Antigravity C-Style braces instead of indentation...

View Article

Generating Deep Dreams

The previous post in this series, Understanding Deep Dreams, explained what deep dreams are, and what they can be used for. In this second post you’ll learn how to create them, with a step by step...

View Article


Arrays & Shaders in Unity 5.4+

This post shows how to use arrays and shaders in Unity 5.4. Back in January I already covered this topic in an article called Arrays & shaders: Heatmaps in Unity. My original approach exposed an...

View Article

Asynchronous Serial Communication

In a previous post, How To Integrate Arduino With Unity, we have shown how data can be sent and received through the serial port. The main problem encountered was dealing with the latency and the...

View Article

Iterators in C#: yield, IEnumerable & IEnumerator

Iterating over lists in C# is often done using [crayon-5e970ef67be15923292606-i/] loops. This tutorial shows how the [crayon-5e970ef67be1f130904375-i/] construct can be coupled with the...

View Article


Nested Coroutines in Unity

This tutorial shows how to make the most out of coroutines in Unity. Introduction Part 1. Synchronous Waits Part 2. Asynchronous Coroutines Part 3. Synchronous Coroutines Part 4. Parallel Coroutines...

View Article


Tentacle Suckers Shader

Following the unexpected success of the tutorial on Inverse Kinematics for Tentacles, I have decided to share the shader that I used to make them so realistic. If you are not familiar with shaders,...

View Article

GPU Sorting

This article introduces the concept of parallel sorting, discussing the theory and implementation of a shader that can sort pixels. You can read the full series here: Part 1. GPU Sorting Part 2. GPU...

View Article

Improving Floating-Point Precision in C#

To view this content, you must be a member of Alan Zucconi's Patreon at $5 or more - Click "Read more" to unlock this content at the source The post Improving Floating-Point Precision in C# appeared...

View Article

Inverse Kinematics in 3D

This tutorial will teach you how to master inverse kinematics in 3D: the technique that solves the problem of moving a robotic arm to reach for a specific target. You can read the rest of this online...

View Article


Delegates, Lambda Expressions & Closures in C#

If you are familiar with programming, you might have heard of a specific paradigm called functional programming. Most modern languages, such as Java and C#, have integrated some functional elements...

View Article

Minecraft Modding: Throwable Fireballs

This is the second part of the tutorial on Minecraft modding; in this article we will create throwable fireballs, using data packs and resource packs. Part 1: An Introduction to Minecraft Modding Part...

View Article


Minecraft Modding: Laser Gun

While guns are not terribly interesting, this tutorial will cover one rather tricky thing to do in Minecraft, which is often associated with guns: raycasting. Simply put, this is the process of finding...

View Article

Sunrise Sort: The Forgotten Sorting Algorithm

This article is about an interesting, yet forgotten sorting algorithm: the Sunrise sort. It is possibly the only one to have a rather unusual property: it is fully unstable. Sorting has been a...

View Article


The Rise of AI Art

Over the past ten years, Artificial Intelligence (AI) and Machine Learning (ML) have steadily crept into the Art Industry. From Deepfakes to DALL·E, the impact of these new technologies can be longer...

View Article

Unity 4D #3: Rendering 4D Objects

To view this content, you must be a member of Alan Zucconi's Patreon at $5 or more - Click "Read more" to unlock this content at the source The post Unity 4D #3: Rendering 4D Objects appeared first on...

View Article

Unity 4D #4: Creating 4D Objects

To view this content, you must be a member of Alan Zucconi's Patreon at $5 or more - Click "Read more" to unlock this content at the source The post Unity 4D #4: Creating 4D Objects appeared first on...

View Article
Browsing latest articles
Browse All 39 View Live




Latest Images