Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Turtle graphics
#13
(02-15-2024, 12:17 PM)Tomaaz Wrote: Something similar is happening with the Koch Curve example. When you set recursion to 6 or more calls, all you get is a single pixel. I'm 99% sure it wasn't happening with Yabasic or EGSL It must be something related to number precision in NaaLaa.

I should have been more clear about what I meant by "smaller programs". It doesn't matter how many line of code there is. All that matter is number of turns.

Nah, all numbers in n7 are doubles (64 bit floating point values). Remove the 'int' calls in turtle.n7 and you can run more iterations.
Reply


Messages In This Thread
Turtle graphics - by Tomaaz - 02-13-2024, 05:13 PM
RE: Turtle graphics - by Marcus - 02-13-2024, 05:58 PM
RE: Turtle graphics - by johnno56 - 02-13-2024, 07:28 PM
RE: Turtle graphics - by Tomaaz - 02-13-2024, 08:09 PM
RE: Turtle graphics - by johnno56 - 02-13-2024, 08:57 PM
RE: Turtle graphics - by Tomaaz - 02-13-2024, 11:37 PM
RE: Turtle graphics - by Marcus - 02-14-2024, 07:28 PM
RE: Turtle graphics - by Tomaaz - 02-14-2024, 08:54 PM
RE: Turtle graphics - by 1micha.elok - 02-15-2024, 04:11 AM
RE: Turtle graphics - by Tomaaz - 02-15-2024, 08:18 AM
RE: Turtle graphics - by 1micha.elok - 02-15-2024, 09:22 AM
RE: Turtle graphics - by Tomaaz - 02-15-2024, 12:17 PM
RE: Turtle graphics - by Marcus - 02-15-2024, 06:59 PM
RE: Turtle graphics - by Tomaaz - 02-15-2024, 08:35 PM
RE: Turtle graphics - by 1micha.elok - 02-16-2024, 02:22 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)