VOLUME 1 If arts and tech had a baby, may it’d look like me 🙂 Anyway, I love mixing the two, interconnecting, and interpolating them…because I’m always curious. Results can be incredibly satisfying or surprising. These are not the best of my work in any form in coding, but wanted to share these short programs […]
Tag: programming
Drawing Graphics using Python (Turtle)
In this blog, I show you how to use draw graphics in Python. Objective:Â I want to draw dots (circles, really if they’re larger than a pixel)…of different sizes and colors at various locations multiple times (I chose 100X for this demo). This is how the output looks like: Source Code: The complete source is below. […]
Creating Magic 8 Ball Game in C/C++
I’ll continue with the Magic 8 ball theme in this coding series. Previously, I posted a fun implementation in Scratch here. If you’re not familiar with it, that’s the best place to start as it has visual aspects and a video clip. This time, I’ll implement the same concept in C/C++ (mostly in C++). To […]
Creating Magic 8 Ball Game in JavaScript
I’ll continue with the Magic 8 ball theme in this coding series. Previously, I posted a fun implementation in Scratch here. If you’re not familiar with it, that’s the best place to start as it has visual aspects and a video clip. This time, I’ll implement the same concept in JavaScript. However, because I’m tired […]
Creating Magic 8 Ball Game in Scratch
Welcome back. Today, I’m sharing my version of the Magic 8 Ball game…you know, the one where you concentrate, and ask a question and shake the 8 ball to get the answer? I’m going to share its implementation in various languages (remember, I’m not a “programmer”, I’m a computer scientist…that means, I don’t like to […]
Continental-Love-or-Bite
Welcome back! Today, I present an application and its full source code of course that’s global! Yes, world-wide! Before we delve into it a little backstory about the idea of this “game”… Backstory: I had this idea about 10 years ago, where players would connect over the internet world-wide to my page and send “missiles” […]
World Population Simulation in Scratch
Welcome, for fun (or despair) we will write a program in Scratch to indicate real-time world population changes…increase or decrease. At the current rate, based on data, it’s growing…the net population is ever-increasing. However, this is a real-time world population simulation…simulation. The data is based on CIA World Factbook but the data are NOT connected […]
Text-to-speech, Interactive Shopping List (in Scratch)
Welcome! Today, we’re going to try a program with a little more complexity and twists in Scratch. In this program, I demonstrate the following tips/tricks: How to use a List control real-time How to get inputs from user and take action accordingly How to convert Text-to-speech How to read variables real-time from calculations and let […]
Creating Custom Buttons Glyphs & Behavior (for touchscreens)
Howdy, today I continue the discussion on designing fun web applications using MIT’s Scratch platform. In my earlier blog about Scratch piano playing game, I mentioned how Scratch apps that listen for keystrokes only won’t work on smartphones and touchscreen only devices and that Scratch platform does not support Buttons or touchscreen natively, so it […]
Get Kids Excited About Coding!
Hello again, 10 years ago I coded some simple games for my son to show and tell and explain how fun and simple coding can be. These were not heavy duty coding I delve into as part of my work, rather to demonstrate logic and how to code, design basic interactions with users. I used […]