Intro 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 … Read more
Code
Python
Python Packing Streams of Arbitrary LengthWhen starting out with IO and learning to efficiently read and write binary structures to and from Python most people will confront the problem of packing a string or list into a structure. Variations of this question plague Stack Overflow, here are two quick examples:https://stackoverflow.com/questions/3753589/packing-and-unpacking-variable-length-array-string-using-the-struct-module-in-py, https://stackoverflow.com/questions/34117620/how-to-unpack-variable-length-data-in-python-struct I have a rather simple solution I decided to … Read more
Code
Site News
Tro reads __ seriesIntroduction: I’m hoping to start a new content series where I slowly read math-heavy non-fiction books and try to port them into programming languages as I go along. Usually I’d say it will be in Python, though if the situation calls for it I will use whichever language I believe is ideal for the task. … Read more

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 … Read more

C#
Code
Old Projects
Drawing Plants in C#Today I’d like to share another old project of mine.I’ve been looking through my old YouTube uploads and trying to see which scripts I can still track down. Most scripts I wrote as a beginner programmer I’ve shared at some point on my Facebook (A practice I stopped about 8 years ago). If I look … Read more
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 … Read more

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 … Read more

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 … Read more

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 … Read more

Code
mySQL
PHP
Web Development
PHP File UploadAutomatically generate a secure single page upload form in php/html. Form Filename: Upload Directory: Filetypes (CSV): Size Limit (Kb): Form Width (%): Bgcol: mySQL: MYSQL Settings: Host: Database: User: Password: As the form is made client-side none of this information is sent to the server Your password will remain private. ID: Name: Size: Date: Type: … Read more
0