Groups | Search | Server Info | Login | Register


Groups > comp.lang.logo > #145

An example

Path csiph.com!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Richmond <dnomhcir@gmx.com>
Newsgroups comp.lang.logo
Subject An example
Date Thu, 06 Apr 2023 12:30:21 +0100
Organization Frantic
Message-ID <85y1n5dz8y.fsf@example.com> (permalink)
Mime-Version 1.0
Content-Type text/plain
Injection-Info solani.org; logging-data="3278319"; mail-complaints-to="abuse@news.solani.org"
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock sha1:NoJfcxwagSnYBh1UAtTw6n0IIZk= sha1:jjAoE3/2briKVEdM9F04kUwprzo=
X-User-ID eJwFwYEBACAEBMCVkvc0Tsj+I3RnSmE5aISNTdJREUguv32PmtSYj74g5eTu3IFFf4nqjQ8WShDe
Xref csiph.com comp.lang.logo:145

Show key headers only | 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