__init__.py

760 B · python · 23 lines

1from .models import Cell2d2from .geometry import (3    merge_2d, combine_2d, magic_2d, special_2d, mosaic_2d,4    invert_2d, pad_2d, rotate_2d, fractal_2d, tile_2d, layers_2d, neighbors_2d,5)6from .painter import paint_2d7from .renderer import (8    to_image, from_image, text_2d,9    draw_square, draw_circle, draw_diamond,10    svg_square, svg_circle, svg_diamond,11)12from .serializer import (13    to_dict_2d, from_dict_2d, to_array_2d, from_array_2d,14    to_list_2d, from_list_2d, to_strings_2d, from_strings_2d,15)16from .designs import (17    zeros_2d, ones_2d, noise_2d, carpet_2d, net_2d, tree_2d, void_2d,18    level_set_2d, htree_2d, vtree_2d, anti_2d,19    random_2d,20)21from .graphics import (22    get_type, get_color, perforate, binarize, recolor, blur,23)