Commit Graph

20 Commits

Author SHA1 Message Date
Léa Saviot
d1c8bbdaf7 [apps/code] The console marks imported script for the var box
After lauching the console, if we fetch a script we mark it as fetched.
When the variable box displays variables from imported scripts, it scans
all the variables from the scripts marked as fetched.
2020-06-04 14:50:06 +02:00
Léa Saviot
a0f1d0f24b [apps/code] Start getting importations in the variable box 2020-06-04 14:50:04 +02:00
Léa Saviot
78a747d9c6 [apps/code] Start loading imported variables in var box 2020-06-04 14:50:04 +02:00
Léa Saviot
2ac1396dd2 [apps/code] Put back the polynomial script 2020-04-01 10:18:09 +02:00
Léa Saviot
b2c95bcbbf [apps/code] Parabola script 2020-04-01 10:18:09 +02:00
Romain Goyet
d71ad9b288 [wip] Convenience to test matplotlib 2020-04-01 10:18:08 +02:00
Léa Saviot
9b07f1936e [apps/code] Squares script template: start by resetting the turtle 2019-01-03 15:28:55 +01:00
Léa Saviot
384fa04798 [apps/code] Change the default scripts: squares instead of factorial 2018-12-27 17:21:10 +01:00
Jean-Baptiste Boric
0c94f44399 [python] Return value for turtle.pensize() 2018-10-30 17:34:13 +01:00
Jean-Baptiste Boric
9e2437047b [python] Clean up turtle code and samples 2018-10-28 19:15:32 +01:00
Jean-Baptiste Boric
0a05b94b4d [python] Turtle module improvements 2018-10-28 14:16:00 +01:00
Jean-Baptiste Boric
464c1a5c95 [python] Initial turtle module 2018-10-27 14:24:36 +02:00
Émilie Feral
79740e72b0 [code] Avoid dynamic allocation and useless string copy by keeping the
importation status flag in the areaBuffer
2018-09-11 17:03:04 +02:00
Léa Saviot
09d6e3da53 [code] Changed the base scripts: polynomial.py instead of fibonacci.py.
Change-Id: If80b20681dc04c5556c9b90bda230c7c3bee58a5
2017-12-01 16:18:36 +01:00
Léa Saviot
1c25848139 [code] Modified mandelbrot script template.
Change-Id: Iee1ad23bf37f71564cdf5f23203c12149ed7fda8
2017-12-01 12:06:05 +01:00
Léa Saviot
9d82804ff3 [code/emscripten] On emscripten, fixed waiting after a Python drawing.
The user can now push OK or Back to remove a Python drawing.

Change-Id: I293064a9458f8c0c6d0da5351500600fd9e82706
2017-12-01 12:06:05 +01:00
Léa Saviot
95bf921138 [code] The Mandelbrot script now uses complex numbers.
Change-Id: I47f14d414c86c09f85093c201d16ef71ce028510
2017-11-21 17:12:42 +01:00
Léa Saviot
a9f4da92c0 [code/python] Fixed the Kandinsky module in Python.
User can draw on the 320*220 drawing screen.

Change-Id: I25034b05f21aacc35608358fdb7a4d9924dd22e8
2017-11-21 17:12:38 +01:00
Léa Saviot
a19377ad5e [code] Default numbered script names (e.g. script1.py)
When the script name is empty after renaming a script, a default new name is
given. We look for the first available scriptI.py name, with 0<I<100.

Change-Id: If17f1df95c552320c0412ce652e7ae7e0cfd9cbc
2017-11-17 11:59:50 +01:00
Léa Saviot
745eddfa05 [code] Added default Fibonacci script.
Change-Id: I2766fa542ee64722018486a874e9855a5976a788
2017-11-17 11:59:50 +01:00