https://stackoverflow.com/questions/79353260/tkinter-with-turtle
#python #tkinter #turtle-graphics #python-turtle
Event Attributes
#genuary #genuary6 #ludus #turtlegraphics: Make a landscape using only primitive shapes. Only lines! Purple hazy mountains.
https://web.ludus.dev/?code=let+gap+%3D+3%0Alet+bars+%3D+300%0Alet+bar_height+%3D+50%0A%0Afn+terrain%21+%7B%0A++%28len%2C+0%29+-%3E+%3Aok%0A++%28len%2C+iter%29+-%3E+%7B%0A++++fd%21+%28len%29%0A++++bk%21+%28len%29%0A++++rt%21+%280.25%29%0A++++pu%21+%28%29%0A++++fd%21+%28gap%29%0A++++pd%21+%28%29%0A++++lt%21+%280.25%29%0A++++let+alter+%3D+random+%280.95%2C+1.05%29%0A++++terrain%21+%28mult+%28alter%2C+len%29%2C+dec+%28iter%29%29%0A++%7D%0A%7D%0A%0Abackground%21+%28%28200%2C+180%2C+200%2C+255%29%29%0Abox+color+%3D+%28195%2C+160%2C+195%2C+255%29%0A%0Afn+fade_out+%28%28r%2C+g%2C+b%2C+a%29%29+-%3E+%28%0A++sub+%28r%2C+5%29%0A++sub+%28g%2C+20%29%0A++sub+%28b%2C+5%29%0A++a%0A%29%0A%0Afn+fade_in+%28%28r%2C+g%2C+b%2C+a%29%29+-%3E+%28%0A++add+%28r%2C+5%29%0A++g%0A++add+%28b%2C+5%29%0A++a%0A%29%0A%0Arepeat+20+%7B%0A++pd%21+%28%29%0A++pencolor%21+%28update%21+%28color%2C+fade_out%29%29%0A++terrain%21+%2850%2C+bars%29%0A++pu%21+%28%29%0A++lt%21+%280.25%29%0A++fd%21+%28inc+%28mult+%28gap%2C+bars%29%29%29%0A++lt%21+%280.25%29%0A++fd%21+%28mult+%28bar_height%2C+0.75%29%29%0A++rt%21+%280.5%29%0A%7D
Oh, hell. I broke the thread. Here's my #genuary5 in #ludus: https://assemblag.es/@scr/113777620426716764 #turtlegraphics
My svg-turtle library now has #IPython support, so you can include #Python #TurtleGraphics in your #Jupyter notebooks.
https://donkirkby.github.io/svg-turtle/
Well, it happened. Finally got my first e-mail about a project i put on the web 21 years ago.
https://drj11.github.io/curlylogo/
An SVG Logo programming language (it was very difficult to get this working in the right combination of OSes and browsers 21 years ago).
Hoje implementei e documentei mais comandos na ‘jupyturtle’, o módulo para fazer desenhos com uma tartaruga no Jupyter Notebook. #juoyter #turtlegraphics
(A documentação fica melhor num notebook ao vivo do que no GitHub)
https://github.com/ramalho/jupyturtle/blob/main/notebooks/command-ref.ipynb
$ python3
>>> import turtle
>>>
:O
Little did I know that it was a reference to this turtle:
#TurtleGraphics on the #TRS80 was my #RideOrDie circa 1981
#introducion I'm an unemployed Python backend developer and today I have ended up spending the whole day:
"var
is a plain string literal and :var
is a syntactic sugar for (thing "var)
label
if you export image with epspict
; and don't press random keys if you don't wanna get segmentation fault O_o)*.lg
program into *.png
(feat. sed
and ImageMagick)I forgot to go to the store to buy some food before it was too late, so now I'm hungry... But in return I have a picture... of something.
If you know Logo, why not share some random #turtleGraphics #art
make "t 0
repeat 18 [
rt 20
repeat 3 [
rt 20
repeat 10 [
make "t :t + 1
setpencolor (list
(1 + cos (:t / 3)) * 50
(1 + sin (:t / 2)) * 50
:t / 7
)
fd 10
rt 10
]
]
]
Learning how to use Visual Studio Code on #Linux to teach #Python #TurtleGraphics to middle schoolers.
It's been months since the last time I posted on #Reddit. As is entirely predictable, the last post I commented on was removed by moderators. So here's some reposted #programmerhumor! #turtle #snake #python #turtlegraphics #impostersyndrome
@th Very nice! Sadly I never came across Logo in real life
At first glance, it seems a strangely domain-specific language to use to teach programming
And yet I can see that what it does at that level is far more interesting than arguably equally domain-specific languages like BASIC
(Any language whose standard beginner’s example is of the hello-world type is at least geared towards text processing, and on the first computers I used, all graphics were made out of text)
Side note: TIL that Logo is the same age as me (https://el.media.mit.edu/logo-foundation/index.html)
@dotbot Your image gave me an idea for a #BingChatAI challenge...
Prompt: Have a look at this image and then write a Python program that produces something similar. image: {https://cdn.mastdn.ca/cache/media_attachments/files/110/565/459/526/706/622/original/cf23df70f81a9c1d.png}
After a few iterations, BingChat was able to write the program!
Mai avrei pensato di "appassionarmi" a LOGO a quasi quarant'anni
Se solo la prof. delle medie non fosse stata così terribilmente noiosa
Due MOOC molto interessanti.
"Coding a scuola con Software Libero
Impara come usare il coding per l'apprendimento della matematica, delle arti e della grammatica."
https://iamarf.org/2021/09/14/il-nuovo-mooc-coding-a-scuola-con-software-libero-per-lultima-volta/
@damomurtagh what about #recursion? When I was in primary school back in the 80s, I attended a #logo course at a school camp where they introduced this concept; recursion works really well with #TurtleGraphics #SeymourPapert
#emacs users when it's just #LOGO using #turtleGraphics to render characters on screen.