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 […]
Tag: STEM
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 […]
More Metamobius Prototypes
Welcome back. In a recent post, I talked about my most favorite geometric shape here. Continuing with that “obsession”, here are a handful of more prototypes of Metamobius shapes. The algorithm generates different shapes…I don’t know the limit yet (can be in thousands as far as I can tell), but I’ve selected a few that just […]
Break Time…Cube inside a square!
Howdy, so this one I really enjoyed because it has so much practical applications…no? Ok, at least we should ALL know this! This question and solution comes from Quora. And I posted it also on my Quora blog, but don’t bother following me everywhere…this place is enough, so I’m posting it here as well. Challenge: […]
Break Time! Geeks Making It Big!
These guys from architecture and math background (wonky!) created beautiful music. Let’s listen and enjoy the simplicity of the notes as well as the creativity of the video (unfortunately, YouTube removed all the official videos, so you’ll have to go pay for it). You don’t have to like it…you just have to understand.
My Favorite Shape!
Howdy! Let me share with you a personal bit…my most favorite shape in the world (to-date, known to man so far) is Metamobius! Invented/discovered by Ted Gibbons of ON. There’s very little information on this on the Internet at the time of this accidental discovery, but I’m sure it’ll get more populated. Anyway, his algorithm […]
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 […]