Groups | Search | Server Info | Login | Register


Groups > comp.lang.logo > #145

An example

From Richmond <dnomhcir@gmx.com>
Newsgroups comp.lang.logo
Subject An example
Date 2023-04-06 12:30 +0100
Organization Frantic
Message-ID <85y1n5dz8y.fsf@example.com> (permalink)

Show all headers | View raw


I skimmed through the UCB Logo manual, but didn't see any examples of
programs to draw pictures. All I could remember of Logo was Acornsoft
Logo.

Then I though, why not ask ChatGPT to write a program to draw a square?
and it did.

Here is an example I wrote to use the square:

to square :size
  repeat 4 [fd :size lt 90]
  end

to poly :size
   repeat 36 [square :size lt 10]
   end

(Tested with QLogo).

Back to comp.lang.logo | Previous | NextNext in thread | Find similar


Thread

An example Richmond <dnomhcir@gmx.com> - 2023-04-06 12:30 +0100
  Re: An example bill <bill.gunshannon@gmail.com> - 2023-04-06 07:52 -0400
    Re: An example Richmond <dnomhcir@gmx.com> - 2023-04-06 12:58 +0100
      Re: An example bill <bill.gunshannon@gmail.com> - 2023-04-06 12:47 -0400
        Re: An example Richmond <dnomhcir@gmx.com> - 2023-04-06 18:42 +0100

csiph-web