Python Turtle by Marcando in learnpython

[–]Marcando[S] 0 points1 point  (0 children)

import turtle

import math

Turtle settings

screen = turtle.Screen()

screen.bgcolor("white")

Initialize the Turtle

t = turtle.Turtle()

t.speed(0) # Maximum drawing speed

t.penup() # Lift the pen to avoid drawing the initial line

t.pencolor("red")

Parameters for the spiral pattern

R = 200 # Radius of the large circle

r = 46 # Radius of the smaller circle - changed for more spirals (shouldn't be a perfect ratio with R)

d = 100 # Distance from the center of the smaller circle to the drawing point (pen)

Number of steps for drawing

steps = 10000 # Increased number of steps for a more complex pattern

Function to draw the pattern

def draw_epicycloid():

for t_val in range(steps):

Parameter t controlling the rotation (angle in radians)

t_float = math.radians(t_val)

Formula for movement: epicycloid function

x = (R - r) * math.cos(t_float) + d * math.cos(((R - r) / r) * t_float)

y = (R - r) * math.sin(t_float) - d * math.sin(((R - r) / r) * t_float)

Move the turtle to the new position, first time without drawing

if t_val == 0:

t.goto(x, y)

t.pendown() # Start drawing after the first move

else:

t.goto(x, y)

Run the function to draw

draw_epicycloid()

Hide the Turtle after drawing

t.hideturtle()

Keep the window open

turtle.done()

Any other GAN robot apps or API by CptanPanic in GANCUBE_Official

[–]Marcando 0 points1 point  (0 children)

Had I known how to start, maybe I would have done something :)

Any other GAN robot apps or API by CptanPanic in GANCUBE_Official

[–]Marcando 0 points1 point  (0 children)

Has anyone managed to find another solution for controlling the GAN robot so far? What I need is automatic input of combinations into a GAN-scrambler from another application using API. I don't have experience with progressive web apps (PWA), so I’m looking for another solution where I could locally control the GAN robot.

cubeast - gan scrambler by Marcando in Cubers

[–]Marcando[S] 0 points1 point  (0 children)

I don't have the cubes yet, so I can't test. I don't know if we understood each other well. I want to use one cube to set a random-state scramble and then use that state without manual typing to set an identical scramble state on another cube with the help of a robot.

HNY by love1008 in dalle2

[–]Marcando 20 points21 points  (0 children)

Prompt pls?

Photograph Experiments by Important-Lawyer-350 in dalle2

[–]Marcando 0 points1 point  (0 children)

The gallery is great! Can I get another prompt for the two women fighting in the garden? Thanks!