Coding Education STEM

General Tree Data Structure – Python

In this post, I’ll demonstrate implementation of what’s known as a General Tree (not binary tree…that’ll be discussed soon in a different post)…it’s a unique data structure that Queue or Stacks cannot easily handle or at all. The key characteristic of this DS is that it allows for hierarchical data representation and relationships…think, taxonomy. Real-world […]

Read More
Coding STEM

Queue and Stack Data Structures — Explained

Hi visitors! This post is about explaining the very essential data structures such as Queue and Stacks in a simple way, and provide you with some animations to help. Then I’ll explain how you can implement either data structures in a real-world situation using Python (or any other language, once you understand these fundamentals). I […]

Read More
Art Coding Education STEM

CPU-generated structural art – CONSTABUILD

This program I dub ‘Constabuild’ is a cross-platform Python app I wrote that generates ‘random’ shapes in ‘random’ colors, in ‘random’ starting positions, for ‘random’ repetition of the selelected shape and color…creating unique patterns/art every time it’s executed. While the app is 100% self-running, there are also some fun commands user can give at run-time […]

Read More
Coding STEM

True text transformation without using any special libraries (Python)

In this post, I’ll share a real example (and an application that you can download and use for your personal use) on how to turn text into fun representation such as: flipped, reversed, substituted with other characters using Python. The output is not an image, but still real text that are not easily accessible from […]

Read More
Coding STEM

Network graphs explained with scenarios (Python) – Part 2

This is Part 2 of the series “Network graphs explained with scenarios“. Please read Part 1 first for proper continuity. A few of the scenarios I cover in this blog series here: Project scheduling example – Shows how to compute critical path on a network of related tasks. Covered in Part 1.Routing example – Shows […]

Read More
Back To Top