Tag Archives for tutorial

(Over)thinking JavaScript objects 3

Defining objects inside self-invoked anonymous functions In our previous episode, we saw a canonical way to create objects in JavaScript that suggested code reuse and facilitated automatic object initialization, but it didn’t let you implement private attributes nor did it … Continue reading

15. November 2013 by Mithat Konar
Categories: Code | Tags: , | Leave a comment

(Over)thinking JavaScript objects 2

Objects with constructors and prototyped methods In this installment, I am going to look at building a tally clicker using what seems to be the canonical form for building class-like entities in JavaScript. The idea is simple: Use a constructor … Continue reading

26. October 2013 by Mithat Konar
Categories: Code | Tags: , | 1 comment

(Over)thinking JavaScript objects 1

I’ve always found JavaScript’s approach(es) to OOP a little cumbersome. I’m not talking here about prototypal vs. class-based OOP. Rather, I’m talking about the readability, etc. of the actual code you have to write to build objects. I want to … Continue reading

24. October 2013 by Mithat Konar
Categories: Code | Tags: , | 1 comment

PixelPlayer

I added an entry to my wiki that documents development I’m doing on Processing-based sight-to-sound mapping.

23. August 2013 by Mithat Konar
Categories: Processing | Tags: , , | Leave a comment

Thermometer update

I’ve revised my tutorial on making a thermometer to work with Processing 2 and have made other code fixes and enhancements.

05. August 2013 by Mithat Konar
Categories: Processing | Tags: , , | Leave a comment

Of Compasses and Randomness

I’ve added a Processing tutorial on my wiki that tries to demonstrate how different kinds of randomness and noise “feel”.

03. August 2013 by Mithat Konar
Categories: Processing | Tags: , , , | Leave a comment

Getting closure in JavaScript

If you’re coming from an imperative programming background, closures in JavaScript can be pretty hard to grok. Here is yet another attempt to explain them. It assumes you are familiar with how lexically scoped, imperative languages like C, C++, and … Continue reading

23. June 2013 by Mithat Konar
Categories: Code | Tags: , , , | 1 comment

C++ pointers tutorial

I added a tutorial on C++ pointer basics to my wiki. It needs some work but might be useful in its present state.

26. April 2013 by Mithat Konar
Categories: Code | Tags: , , | Leave a comment

How to make a thermometer

Over on my wiki, I’ve posted a series of examples that take you through the process of scraping XML data with Processing and using it to build a simple thermometer.

12. July 2012 by Mithat Konar
Categories: Processing | Tags: , , | Leave a comment