Aktualności

Witaj, nieustraszony pionierze!

Nie martw się, wcale nie jest aż tak źle. Pracowaliśmy całymi miesiącami, żeby pierwsze spotkanie naszych pionierów z turtleSpaces nie okazało się katastrofą.

Na drodze turtleSpaces wciąż jednak zostało kilka wybojów do wyrównania. I wyrównujemy je tak szybko, jak tylko potrafimy.

Wbudowaliśmy mechanizm automatycznych aktualizacji, dzięki któremu poprawki tych wybojów dotrą do ciebie jak najszybciej!

Jeśli natkniesz się na coś naprawdę strasznego, napisz na help@turtlespaces.org

Artykuły oznaczone (po angielsku) są dostępne tylko w języku angielskim.

Rocket Orbit (po angielsku)

This simple commented project allows for the introduction of 3D movements and shapes (the rocket procedure) including a basic introduction to repeat, the creation of turtle models and the use of premodel, an introduction to the orbit primitives and the use of a new worker (thread) for orbiting the camera!

Czytaj dalej »

Example: Tetris written in turtleSpaces Logo (po angielsku)

What do Steve Wozniak and George H.W. Bush have in common? They’ve both been seriously into Tetris! But who can blame them? The object of the game (as if you didn’t know) is to complete horizontal lines using falling shapes of various configurations. When you finish a line, it disappears, causing the rest of the blocks to fall down a line. However, if you stack up shapes to the point they overflow the top of the playfield: Game Over. When you finish a certain number of lines, the level ends… and in the next, the shapes fall faster, and you need to complete more lines! The insanity never ends.

Czytaj dalej »

Example: Invasion (3D Space Invaders Clone) (po angielsku)

Check out this simple space invaders clone, featuring 3D UFO’s and UFO and player movement. This runs well on both the application and in the web version using modest hardware.

Rather than using hatchlings each with its own thread (worker), Invasion creates 15 static turtles representing each UFO, then iterates through moving them using the main (Myrtle) worker, more like a conventional single-threaded application would.

One procedure is used to generate randomly-colored UFO models, which are then assigned to each UFO turtle. The UFO turtles move in a 3D pattern created by ‘rolling’ them (rotating them on the Z axis), moving them left or right using slideleft and slideright, and raising and lowering them (using raise and lower) – a great exploration of 3D movement in turtleSpaces.

Czytaj dalej »

Random Sine Wave Flowers Made With turtleSpaces Logo (po angielsku)

This simple yet attention-grabbing Logo procedure is a real visual treat, creating random three-dimensional ‘flowers’ based on the sine function. This could spice up a math class or just provide a brief introduction to sine waves in general.

The procedure makes use of the move primitive, which allows the turtle to move based on an arbitrary number of degrees away from its current heading, on the X and Y planes. When combined with the sine function, it produces these interesting ‘natural’ 3D designs.

Czytaj dalej »

Simple Hexagon Pattern (po angielsku)

Here is a simple Logo project to get started with. It creates a colorful filled hexagon pattern using the polyspot primitive.

The hexagon pattern zoomed out

Czytaj dalej »

Past and Future Turtles: The Evolution of the Logo Programming Language (Part 1) (po angielsku)

When I was a young child, one of my best friends was a turtle.

Not a real turtle, although that would have been fun, but a virtual one. My turtle lived inside of an Apple II, an early 8-bit computer, at my elementary school.

When I first met her, my turtle, she didn’t do much. She just sat there. It didn’t take long for me to realize that in order to get her to do something, I would need to prompt her. To do this, there was a literal prompt on the screen, beckoning me to type something.

Czytaj dalej »

Example: My Gosh, It’s Full of Stars! (po angielsku)

▶ View interactive demo

Open in turtleSpaces IDERun starscape to create a galaxy of randomly-shaped and colored stars.

Czytaj dalej »

Example: It’s Turtles All The Way Down! (po angielsku)

In turtleSpaces, you can ‘stamp’ the current model, leaving a copy of it in the current position. This can be useful in some circumstances, to create artworks made out of more sophisticated models. In the case of this example, we’re going to use the default ‘myrtle’ turtle model to create a descending spiral of turtles.

If you change the colors in the default palette using the definecolor primitive, then those colors are also used to render the turtle model, and by extension the stamp. And so, if we ‘cycle’ the colors, shifting their RGB values from one palette slot to the next, we can create a rotating series of differently-colored turtles.

Czytaj dalej »

New WebAssembly Build of turtleSpaces Logo Now Available (po angielsku)

To make turtleSpaces more accessible to our users, we’ve created a WebAssembly build of turtleSpaces and paired it with a new Javascript front-end UI that renders turtleSpaces output natively in the browser, and has a code editor with syntax highlighting.

It comes with a number of built-in examples, and a fairly complete set of features: loading from the local machine, saving to the local machine, exporting STL, exporting PNG (high-resolution), and sharing using the turtleSpaces model viewer (which unlike STL is in full color).

Czytaj dalej »

turtleSpaces Model Web Viewer (po angielsku)

On our journey to porting turtleSpaces to the Web (yes, that’s coming!), we’ve added a primitive, SHAREVECTORS “description (or |description|) that allows users to share their creations to the web. SHAREVECTORS will return a link to the turtleSpaces website where you can view a static model, as it was in turtleSpaces when you executed the SHAREVECTORS command.

Note that the camera in the web viewer is currently fixed to the Y axis and is oriented upward, and so you need to ensure your models are oriented that way (they should look correct if you issue a CAM:CS to return the camera turtle to its home position).

Czytaj dalej »