updated processing sketch with mapped values in Range function