Archive | January, 2013

Colors and Artwork – Subpost 2

24 Jan

I’m such a total pro at this now. Well, at least I’m getting the hang of it.

I found a tutorial for making a nice-looking header for a website at This would be useful for creating a really nice, spiffy MATH CIRCLE website!

First, I had to overcome the problem in step 1 of creating a “color overlay” in photoshop elements. It turns out that by using the background as a clipping mask (a layer that uses the opaque pixels as “masks” for another layer) one can create an identical effect: a filled background with a uniform solid color.

After that, the tutorial was no problem to follow. I found it easy to follow the well-written instructions, and before I knew it, I had a full-fledged header to show. WOW!

Well, except for the off-center pi. But that’s no biggie.


Learning HTML: Subpost 3

9 Jan


I am trying to learn how javascript works; it seems to be a rather confusing language. However, as the language of most of the interactive Internet as we know it, it is important to know.

To begin my research, I started at the well-written article at This article explains, through examples, how Javascript works.

First of all, the language appears to be close to C, and its relationship with Java lies more in its name than in its structure. However, it is similar to Java in that it is an OOP, or “object-oriented programming,” language. This means that certain groups of objects can be made that inherit the properties of a class.

Apparently, all it takes to enable Javascript in HTML is a <script> tag. Who knew it was that easy? What surprises me the most is that you do not have to define a type for any variable; for example, in Java, you have to define a number as “double” or “int” according to the type you wish the variable to have. According to the examples provided in the website, all it takes is a “var = (whatever)” statement, and the machine will take care of variable type for you. Even with strings. As for classes, objects, and other good stuff, there is a protocol called JSON, or “Javascript Object Notation.” This notation is probably important for making code more readable. Arrays seem to be no-pain; they “grow dynamically,” to quote the website. It has nifty string manipulation tools, and can compare types as well as values. The conditionals and loops seem intuitive, and seem to parallel those in other programming languages. Functions and classes seem just as much easy to comprehend. You can even probe for errors using “catch” and “try.”

All in all, Javascript seems like a great language to program in, with much less syntactical and procedural burden as Java or C++, etc.