mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-20 06:10:31 +01:00
[code/python] Fixed the Kandinsky module in Python.
User can draw on the 320*220 drawing screen. Change-Id: I25034b05f21aacc35608358fdb7a4d9924dd22e8
This commit is contained in:
@@ -31,9 +31,9 @@ constexpr ScriptTemplate mandelbrotScriptTemplate("mandelbrot.py", R"(# This scr
|
||||
# N_iteration: degree of precision
|
||||
import kandinsky
|
||||
N_iteration = 10
|
||||
def drawMandelbrot():
|
||||
def drawMandlebrot():
|
||||
for x in range(320):
|
||||
for y in range(240):
|
||||
for y in range(222):
|
||||
# Compute the mandelbrot sequence for the point c = (c_r, c_i) with start value z = (z_r, z_i)
|
||||
z_r = 0
|
||||
z_i = 0
|
||||
|
||||
Reference in New Issue
Block a user