Loading

sdafasdfa FUCk

  1.  
  2. def make_offset_list(offset_list,n, template):
  3.   add_offsets = template
  4.   for o in add_offsets:
  5.     offset_list.append(o)
  6.  
  7.  
  8.  
  9. offset_list = []
  10.     standard_6_index_list = [
  11.         [   n,  n+1,  n+2],#1
  12.         [ n+1,  n+2,  n+3],#2
  13.         [ n+2,  n+3,  n+3],#3--
  14.         [ n+3,  n+3,  n+2],#4--
  15.         [ n+4,  n+3,  n+2],#5
  16.         [ n+5,  n+4,  n+3]# 6
  17.       ]
  18.     standard_8_index_list = [
  19.         [   n,  n+1,  n+2],#1
  20.         [ n+1,  n+2,  n+3],#2
  21.         [ n+2,  n+3,  n+4],#3
  22.         [ n+3,  n+4,  n+4],#4--
  23.         [ n+4,  n+4,  n+3],#5--
  24.         [ n+5,  n+4,  n+3],#6
  25.         [ n+6,  n+5,  n+4],#7
  26.         [ n+7,  n+6,  n+5]# 8
  27.       ]
  28.     standard_10_index_list = [
  29.         [   n,  n+1,  n+2],#1
  30.         [ n+1,  n+2,  n+3],#2
  31.         [ n+2,  n+3,  n+4],#3
  32.         [ n+3,  n+4,  n+5],#4
  33.         [ n+4,  n+5,  n+5],#5--
  34.         [ n+5,  n+5,  n+4],#6--
  35.         [ n+6,  n+5,  n+4],#7
  36.         [ n+7,  n+6,  n+5],#8
  37.         [ n+8,  n+7,  n+6],#9
  38.         [ n+9,  n+8,  n+7]#10
  39.       ]
  40.  
  41.     make_offset_list(offset_list,0,#TRANSPARENCY
  42.     [
  43.       [n,n,n]
  44.     ])
  45.     make_offset_list(offset_list,1,#GRAYSCALE
  46.       [
  47.         [   n,  n+1,  n+2],#1
  48.         [ n+1,  n+2,  n+3],#2
  49.         [ n+2,  n+3,  n+4],#3
  50.         [ n+3,  n+4,  n+5],#4
  51.         [ n+4,  n+5,  n+6],#5
  52.         [ n+5,  n+6,  n+7],#6
  53.         [ n+6,  n+7,  n+8],#7
  54.         [ n+7,  n+8,  n+8],#8--
  55.         [ n+8,  n+8,  n+7],#9--
  56.         [ n+9,  n+8,  n+7],#10
  57.         [n+10,  n+9,  n+8],#11
  58.         [n+11, n+10,  n+9],#12
  59.         [n+12, n+11, n+10],#13
  60.         [n+13, n+12, n+11],#14
  61.         [n+14, n+13, n+12],#15
  62.         [n+15, n+14, n+13]# 16
  63.     ])
  64.     #METAL
  65.     make_offset_list(offset_list,16, standard_8_index_list)
  66.     #LIME_GREEN
  67.     make_offset_list(offset_list,24, standard_8_index_list)
  68.     #BEIGE
  69.     make_offset_list(offset_list,32, standard_8_index_list)
  70.     #DARK_PINK
  71.     make_offset_list(offset_list,40, standard_10_index_list)
  72.     #YELLOW
  73.     make_offset_list(offset_list,50,
  74.     [
  75.       [   n,  189,  188],#1
  76.       [ n+1,  n+0,  188],#2
  77.       [ n+2,  n+1,  n+0]# 3
  78.     ])
  79.     #DARK_BEIGE
  80.     make_offset_list(offset_list,53,#DARK_BEIGE
  81.     [
  82.       [   n,  n+1,  n+2],#1
  83.       [ n+1,  n+2,  n+3],#2
  84.       [ n+2,  n+3,  n+3],#3--
  85.       [ n+3,  n+3,  n+4],#4--
  86.       [ n+4,  n+3,  n+3],#5--
  87.       [ n+5,  n+4,  n+3],#6
  88.       [ n+6,  n+5,  n+4]# 7
  89.     ])
  90.     #YELLOW
  91.     make_offset_list(offset_list,60, standard_10_index_list)
  92.     #BROWN_1
  93.     make_offset_list(offset_list,70, standard_10_index_list)
  94.     #CC2
  95.     make_offset_list(offset_list,80, standard_8_index_list)
  96.     #DARK_GREEN
  97.     make_offset_list(offset_list,88, standard_8_index_list)
  98.     #PALE_GREEN
  99.     make_offset_list(offset_list,96, standard_8_index_list)
  100.     #BROWN_2
  101.     make_offset_list(offset_list,104, standard_8_index_list)
  102.     #BROWN_3
  103.     make_offset_list(offset_list,112, standard_10_index_list)
  104.     #BROWN_4
  105.     make_offset_list(offset_list,122, standard_6_index_list)
  106.     #MAUVE
  107.     make_offset_list(offset_list,128, standard_8_index_list)
  108.     #PURPLE
  109.     make_offset_list(offset_list,136, standard_8_index_list)
  110.     #BLUE
  111.     make_offset_list(offset_list,144, standard_10_index_list)
  112.     #LIGHT_BLUE
  113.     make_offset_list(offset_list,154, standard_8_index_list)
  114.     #PINK
  115.     make_offset_list(offset_list,162, standard_8_index_list)
  116.     #LIGHT_PURPLE
  117.     make_offset_list(offset_list,170, standard_8_index_list)
  118.     #RED
  119.     make_offset_list(offset_list,178,
  120.     [
  121.       [   n,  n+1,  n+2],#1
  122.       [ n+1,  n+2,  n+3],#2
  123.       [ n+2,  n+3,  n+4],#3
  124.       [ n+3,  n+4,  n+5],#4
  125.       [ n+4,  n+5,  n+6],#5
  126.       [ n+5,  n+6,  n+7],#6
  127.       [ n+6,  n+7,  n+7],#7--
  128.       [ n+7,  n+6,  n+6],#8--
  129.       [ n+8,  n+7,  n+6],#9
  130.       [ n+9,  n+8,  n+7],#10
  131.       [n+10,  n+9,  n+8],#11
  132.       [n+11, n+10,  n+9],#12
  133.       [n+12, n+11, n+10],#13
  134.       [n+13, n+12, n+11]#14
  135.     ])
  136.     #ORANGE
  137.     make_offset_list(offset_list,192,
  138.     [
  139.       [  n,   64,  63],#1
  140.       [ n+1, n+0,  64],#2
  141.       [ n+2, n+1, n+0],#3
  142.       [ n+3, n+2,  n+1],#4
  143.       [ n+4, n+3, n+2],#5
  144.       [ n+5, n+4, n+3]#6
  145.     ])
  146.     #CC1
  147.     make_offset_list(offset_list,198, standard_8_index_list)
  148.     #GREEN
  149.     make_offset_list(offset_list,206,
  150.     [
  151.       [    n, 93,  92],#1
  152.       [ n+1, n+0,  93],#2
  153.       [ n+2, n+1, n+0],#3
  154.       [ n+3, n+2, n+1]# 4
  155.     ])
  156.     #CYAN
  157.     make_offset_list(offset_list,210,
  158.     [
  159.       [  n, n+1, n+2],#1
  160.       [n+1, n+2, n+2],#2
  161.       [n+2, n+3, n+3],#3
  162.       [n+3, n+2, n+2],#4
  163.       [n+4, n+3, n+2]# 5
  164.     ])
  165.     #CYAN & ACT
  166.     make_offset_list(offset_list,215,
  167.     [
  168.       [n+0,n+0,n+0],#1  - index 215
  169.       [n+1,n+1,n+1],#2  - index 216
  170.       [n+2,n+2,n+2],#3  - index 217
  171.       [n+3,n+3,n+3],#4  - index 218
  172.       [n+4,n+4,n+4],#5  - index 219
  173.       [n+5,n+5,n+5],#6  - index 220
  174.       [n+6,n+6,n+6],#7  - index 221
  175.       [n+7,n+7,n+7],#8  - index 222
  176.       [n+8,n+8,n+8],#9  - index 223
  177.       [n+9,n+9,n+9],#10 - index 224
  178.       [n+10,n+10,n+10],#11 - index 225
  179.       [n+11,n+11,n+11],#12 - index 226
  180.       [n+12,n+12,n+12],#13 - index 227
  181.       [n+13,n+13,n+13],#14 - index 228
  182.       [n+14,n+14,n+14],#15 - index 229
  183.       [n+15,n+15,n+15],#16 - index 230
  184.       [n+16,n+16,n+16],#17 - index 231
  185.       [n+17,n+17,n+17],#18 - index 232
  186.       [n+18,n+18,n+18],#19 - index 233
  187.       [n+19,n+19,n+19],#20 - index 234
  188.       [n+20,n+20,n+20],#21 - index 235
  189.       [n+21,n+21,n+21],#22 - index 236
  190.       [n+22,n+22,n+22],#23 - index 237
  191.       [n+23,n+23,n+23],#24 - index 238
  192.       [n+24,n+24,n+24],#25 - index 239
  193.       [n+25,n+25,n+25],#26 - index 240
  194.       [n+26,n+26,n+26],#27 - index 241
  195.       [n+27,n+27,n+27],#28 - index 242
  196.       [n+28,n+28,n+28],#29 - index 243
  197.       [n+29,n+29,n+29],#30 - index 244
  198.       [n+30,n+30,n+30],#31 - index 245
  199.       [n+31,n+31,n+31],#32 - index 246
  200.       [n+32,n+32,n+32],#33 - index 247
  201.       [n+33,n+33,n+33],#34 - index 248
  202.       [n+34,n+34,n+34],#35 - index 249
  203.       [n+35,n+35,n+35],#36 - index 250
  204.       [n+36,n+36,n+36],#37 - index 251
  205.       [n+37,n+37,n+37],#38 - index 252
  206.       [n+38,n+38,n+38],#39 - index 253
  207.       [n+39,n+39,n+39],#40 - index 254
  208.       [n+40,n+40,n+40] #41 - index 255
  209.     ])
  210.  
  211.     print('Offset list: ' + str(offset_list))

Comments