This tutorial walks you through generating a sine wave in Python, using libraries like wave and struct, and exporting it as a .wav file. Ideal for those interested in audio processing or sound design.
3d
Code
Media
Python
I Stole My Friend’s FaceIntro I extracted my mate’s (approximately 60×60 pixel) face from a Facebook picture, and overlaid it onto a depth-map for a similarly shaped face, then used a custom python script to create a 3d wavefront model of his face, and an accompanying .mtl file for the texture. I will create a post soon properly dissecting […]
Animations
Audio
Graphics
Media
Animating a Virtual Idol (Part 1: The Drawings)Making the character assets: Each layer of the character is simply a transparent png with a fixed center of rotation (which we can mark later on)All of these layers will be joined to one another and moved in whichever ways we command. -Body The Body will be placed right at the back of the character, […]
Animations
Code
Math
Media
Python
Julia Blend (Animated Julia Sets)Draw Julia set animations by simply defining a 2d line though the complex plane. A Julia set is simply a recursive function or iterative process that takes the form z=z^2+cwhere the initial value of z is a complex number representing a point in 2d space, and c is any complex.The z argument is updated until […]
Animations
Code
Old Projects
Pascal
Pascal ASCII AnimationI’d like to share some very early ASCII art of mine; a pascal ascii animation I thought was lost to time. I was still relatively new to programming when I made this so I didn’t think of things like backups. I didn’t have anything particularly useful to motivate me to preserve it. By chance it […]
Code
Graphics
JavaScript
Media
Online L-System DrawerThe L-System, or Lindenmayer system, named after it’s creator, Aristid Lindenmayer.L-systems were introduced in 1968 to describe the behavior of plant cells and model the growth of a variety of organisms. However, L-Systems are an incredibly versatile tool. In no way are they limited to biology; anywhere requiring parallel state changes can be modeled with […]
Animations
Code
Graphics
Media
Physics
Python
Drawing With GravitySimulation is a great way to learn new concepts. Whenever I’m confronted with some scary physics equation I can’t follow I usually try to find the equivalent concept in a syntax I know. In the following post I will covering a few loose simulations of Newtonian inspired gravity.It’s not true Newtonian gravity as I was […]
Code
Game Design
Graphics
JavaScript
Javascript Map MakerThis is a map maker I began making for a game I was designing with a friend, that has since been put on hold while everyone is occupied with life/study. The Map Maker was designed to run smooth on touchscreen/Tablet (ipad in particular), and like the rest of the project, it was designed so we […]
Audio
Audio Compression
Code
Python
Extrema Compression (Part 2)Part 2 is on decompression, start with Part 1 Extrema Compression (Part 1)Decompression:Luckily for us the decompression phase is much simpler than the compression phase. It would have been simpler regardless but We create a new wave file for the output, we simply need to have a while loop read through the file five bytes […]
3d
Code
Game Design
Media
Python
Python Model Sword MakerMake a variety of sword, knives, hammer/axes, polearms, and much more with only a few lines code. The code is split into 3 libraries:Mesh.py: Tools for processing triangle meshes. The triangle mesh is a list of triangles composed of 3 vertices, each with a corresponding colour (RGB from 0 to 1). Currently the library only […]
0