[{"element_type":"image_url","content":"https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fwww.publicdomainpictures.net%2Fpictures%2F320000%2Fnahled%2Fkosmos-universum-weltall-sterne-1582712175THY.jpg\u0026f=1\u0026nofb=1\u0026ipt=8ee009743c578fca4b19c3e62e275a955f989fdf26c4af40af7fd05587ca070d\u0026ipo=images","metadata":{"alt":"Picture","caption":"Travel the Universe in a NeoTrinkey!"}},{"element_type":"text","content":"\n        \u003cp\u003eYet another silly program from MrKlingon.\u003c/p\u003e\n\u003cp\u003eProgram \u003ca title=\"cosmos code\" href=\"https://github.com/mrklingon/neotrinkey/blob/main/cosmos.py\" target=\"_blank\"\u003ecosmos.py\u003c/a\u003e requires \u003ca title=\"support module, for displaying numbers on neotrinkey set\" href=\"https://github.com/mrklingon/neotrinkey/blob/main/cosmos.py\" target=\"_blank\"\u003encount.py\u003c/a\u003e to display numbers. You can load both on a neotrinkey. If cosmos.py is saved as code.py the program runs on power up.\u003c/p\u003e\n\u003cp\u003eA 40x40 cosmos is generated with a variety of stars.\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003eTouching pad1 changes direction - there are 8 - (think N, NE, E, SE, S, SW, W, NW). The neotrinkey display shows a binary number for which ever is the current direction, then the current X,Y position, then displays the stars at the current 2x2 window the \"ship\" is at.\u003c/li\u003e\n\u003cli\u003eTouching pad2 blinks through showing the stars for 7 steps in the current direction.\u003c/li\u003e\n\u003cli\u003eTouching both pads together (1\u0026amp;2) does a display traversing through all the stars.\u003c/li\u003e\n\u003cli\u003eRunning in Thonny IDE displays current coordinates while \"traversing\" and names the stars.\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003e \u003c/p\u003e\n      ","metadata":{}},{"element_type":"user_image","content":"https://cdn-learn.adafruit.com/user_assets/assets/000/000/097/original/cosmos.jpg?1678569928","metadata":{"caption":"cosmos.py running in Thonny, displaying x,y coordinates and star names."}}]