title: How to make lines around the origin(will be cursor) in tkinter
body: <p>What I am planning to do is make 360 lines that every one of it points to a different angle and it all will be around the cursor
  so line 1 will be in angle 1 and line 2 in angle 2
  and I want it to be around the cursor</p>
  <pre class="lang-py prettyprint-override"><code>def redraw(event):
      cv.delete(&quot;all&quot;)
      length = 100
      xorigin = event.x - 250
      yorigin = event.y - 250
  
  
      newx = (xorigin - 500)*numpy.cos(45 * numpy.pi / 360)
      newy = (xorigin - 250)*numpy.sin(45 * numpy.pi / 360)
      cv.create_line(xorigin+250,yorigin+250,newx,newy, fill=&quot;red&quot;)
  </code></pre>
  <p>I've tried to make it one line for testing but the line is not from the angle i want + the origin(cursor) kinda broken
  so basically what I am trying to do:
  <a href="https://i.stack.imgur.com/5odxD.png" rel="nofollow noreferrer">enter image description here</a></p>
  <p>so the cursor will be like the circle</p>