Skip to content

amatulqs/string-art-simulator-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 

Repository files navigation

Turtle Nail & String Art - using Python Turtle ๐Ÿข๐ŸŽจ

A Python project using Turtle graphics to simulate geometric string art and calculate material costs for nails, string, and the board.

๐Ÿง  Project Summary

This program allows users to:

  • Input custom coordinates for nails.
  • Visually create string art using Turtle graphics.
  • Automatically draw connecting strings between nails.
  • Calculate the total material cost based on user input and pre-defined rates.

๐Ÿ› ๏ธ Features

  • Interactive input for nail placement (x, y coordinates)
  • Visual stamping of nails and drawing of threads using turtle
  • Real-time cost calculation including:
    • Nail cost
    • String length converted to cost
    • Fixed board cost
  • Output of final cost displayed graphically

๐Ÿ’ธ Cost Assumptions

Item Unit Cost
Nail $0.12 each
String $0.07/meter
Board $5.00 flat
1 Meter โ‰ˆ 32 pixels

๐Ÿ Requirements

  • Python 3.x
  • turtle module (included with Python by default)

โ–ถ๏ธ How to Run

  1. Clone the repo:
    git clone https://github.com/your-username/turtle-string-art-python.git
    cd turtle-string-art-python

About

A Python Turtle graphics assignment project that simulates geometric string art and calculates the cost of materials used.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages