first version of 'hairy triangle generator'