| Download
Project: Peter's Files
Views: 66Visibility: Unlisted (only visible to those who know the link)
Kernel: SageMath (stable)
In [2]:
In [247]:
In [28]:
In [8]:
In [6]:
In [9]:
In [20]:
In [0]:
In [242]:
In [245]:
---------------------------------------------------------------------------
KeyboardInterrupt Traceback (most recent call last)
<ipython-input-245-7a47181160fd> in <module>()
----> 1 PlotPointFigures(Generate(Integer(10), [Tree], T), True, Integer(1), Integer(10), 'blue')
<ipython-input-244-2d2bb0069094> in Generate(n, Figures, Transformations)
43 Output_Figures = Figures
44 for i in (ellipsis_range(Integer(1),Ellipsis,n)):
---> 45 Output_Figures = Transform(Output_Figures, Transformations)
46 return Output_Figures
47
<ipython-input-244-2d2bb0069094> in Transform(Figures, Transformations)
36 for M in Figures:
37 for T in Transformations:
---> 38 New_Figures = New_Figures + [T*M]
39
40 return New_Figures
src/cysignals/signals.pyx in cysignals.signals.python_check_interrupt()
src/cysignals/signals.pyx in cysignals.signals.sig_raise_exception()
KeyboardInterrupt:
In [225]:
In [249]:
In [7]:
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-7-80361f3a6c8a> in <module>()
----> 1 PlotPointFigures(Generate(Integer(7), [Tree2], T2), True, Integer(1), Integer(10), 'blue')
NameError: name 'Tree2' is not defined
In [229]:
In [228]:
Bolt = column_matrix(RR, [ [0.5,1, 1], [-0.5, 0, 1], [0.5,0, 1], [-0.5, -1, 1]])
B_1 = Translate(0,0.5)*Rotate(-pi/10)Scale(sqrt(2/5)) B_2 = Rotate(13pi/20)*Scale(sqrt(1/5)) B_3 = Translate(0,-0.5)*Rotate(pi-pi/10)*Scale(sqrt(2/5))
B = [B_1, B_2, B_3]
PlotFigures(Generate(7, [Bolt], B), True, 7, 'blue')
In [136]:
In [142]:
In [143]:
In [145]:
In [10]:
In [12]:
In [8]:
In [215]:
In [217]:
In [220]:
In [222]:
In [0]: