Giter Club home page Giter Club logo

svg_turtle_fun's Introduction

repo URL

https://github.com/pleabargain/svg_turtle_fun

alphabet in turtle

https://artificialintelligencestechnology.com/python/draw-alphabets-with-python-turtle/

going to take a look at

https://github.com/AUTOMATIC1111/stable-diffusion-webui

and

https://github.com/GeorgLegato/Txt2Vectorgraphics

need to learn more about

  • geometry
  • if name ==

svg_turtle_fun

Playing around.

ideas

excercise: create an API that calls the various functions and displays them as SVG

pypi

https://donkirkby.github.io/svg-turtle/

grid overlay next steps

use draw turtle grid for debugging geometry of new SVG objects

use case

  1. user wants to correct geometry of SVG output
  2. user calls function of obj1
  3. user calls grid function
  4. obj1 and grid are both displayed
  5. user manually fixes obj1 geometry

e.g. run draw_smiley_face on top of draw_turtle_grid

current state

It works.

run

geometric_turtle_SVG_drawing.py

next steps

see the reengineering document

question

How can I call a complete SVG object through a python function? e.g.

    with open ('blob.svg') as f:
        return f

research and dev

This is exciting!

https://twitter.com/DiffusionPics/status/1595481498643501056?s=20&t=R2Ly18_Ln0Am0ip3V6Ev2A

and this is too!

https://github.com/GeorgLegato/Txt2Vectorgraphics

I wonder if I can get these tools running on github codespace!

note

Drawing with SVG turtle doesn't show you the animation! I use VS Code Live Server to view the SVG in the browser.

learned

Without any real effort I was able to get Git Hub Co Pilot to generate some basic functions for me.

What I quickly realized that since each letter is it's own function, I would need to think about running each one separately!

I SHOULD have made a grid to draw out the location of each coordinate. Maybe even graphed a background in Turtle first... later. It's time for dinner.

todo1

Pass functions to functions

e.g. I have a spiral function.

Pass the triangle function to the spiral function.

todo2

Figure out the fill option

todo3

challenge1

Draw shapes randomly on screen but don't let them touch.

challenge2

Add argv to activate varables from command line

challenge3

Stack geometry on center of highest point of geometry

challenge 4

Make function that fills the screen with any of the shapes

svg_turtle_fun's People

Contributors

pleabargain avatar

Stargazers

Horst JENS avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.