def steps(df):

  from time import time
  from modules.helpers import print_stats

  global i

  t1 = time()
  df.optimize_position(STP)
  spawn_curl(df, NEARL)
  #spawn(df, NEARL, 0.05)

  if df.safe_vertex_positions(3*STP)<0:

    print('vertices reached the boundary. stopping.')
    return False

  t2 = time()
  print_stats(i, t2-t1, df)

  return True
dataset/ETHPy150Open inconvergent/differential-line/main_ani.py/steps/original