tolgaatam / ColabTurtle

An HTML based Turtle implementation, in order to work in Google Colab
MIT License
55 stars 30 forks source link

Setup a larger / heigher display #12

Closed swalter972 closed 3 years ago

swalter972 commented 3 years ago

Hi, is there a way to setup up a larger display ? Thanks

tolgaatam commented 3 years ago

Yes. Sorry for not documenting it. You can supply a named parameter initial_window_size as a tuple to the function initializeTurtle like the following:

initializeTurtle(initial_window_size=(1080,720)

This will make the turtle display with 1080 width and 720 height.

Hope this helps.

robderon commented 2 years ago

Could we add this to Readme.md ?

Thanks a lot for your work