Code and json files for modeling figures using subdivision