Library or Code for stroke features