Skip to content

Instantly share code, notes, and snippets.

@pauljnav
Created September 18, 2025 07:00
Show Gist options
  • Save pauljnav/808a54cf2d92da5944a7915aa8e79810 to your computer and use it in GitHub Desktop.
Save pauljnav/808a54cf2d92da5944a7915aa8e79810 to your computer and use it in GitHub Desktop.
fast moving turtle
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pauljnav
Copy link
Author

pauljnav commented Sep 18, 2025

reference PowerShellWeb:Turtle
Generated from the following (the random values were kind)

# Flower Petals look amazing when morphed
    $Radius = 23..42 | Get-Random
    $flowerAngle = 30..60 | Get-Random
    $AngleFactor = 2..6 | Get-Random
    $StepCount = 36
    $flowerPetals =
        turtle rotate (
            (Get-Random -Max 180) * -1
        ) flowerPetal $radius 10 $flowerAngle $stepCount
    $flowerPetals2 =
        turtle rotate (
            (Get-Random -Max 180)
        ) flowerPetal $radius (
            10 * $AngleFactor
        ) $flowerAngle $stepCount
    turtle flowerPetal $radius 10 $flowerAngle $stepCount morph (
        $flowerPetals,
        $flowerPetals2,
        $flowerPetals
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment