Posts

Showing posts from November, 2021

My New Spiral Procedural Drawing Program on Small Basic

Image
 I coded a new procedural drawing program which is using Fibonacci series with two seeds and draws spirals accordingly. The code takes gray tone, thickness of pen, step length and angle change from the Fibonacci series having these two seeds. This is the spiral created from the seeds 30 and 9: And this is the AI stylized image from above image: Small Basic Link of the code>>  http://smallbasic.com/program/?ZKDV668.000 Here is the code itself : zero: GraphicsWindow.Width=1024 GraphicsWindow.Height=768 Turtle.Speed = 10 radius=1 angle=0 'Input seeds and step length ' angle seed 1: TextWindow.Show() TextWindow.WriteLine("Enter Angle Seed #1 (0-255):") don1=TextWindow.Read() ' angle seed 2: TextWindow.WriteLine("Enter Angle Seed #2 (0-255):") don2=TextWindow.Read() renk1= MATH.Remainder(don2,256) pw= MATH.Remainder(don2+don1,8) TextWindow.Hide() turtle.X=GraphicsWindow.width/2 turtle.Y=GraphicsWindow.Height/2 GraphicsWindow.Title="Turtle the proce