Coder Social home page Coder Social logo

connorysm / a-question Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 2.56 MB

Open questions generated from GPT-3 in real-time based on user's response, and automatically writes out the question through a CNC using a custom TouchDesigner program

HTML 1.00% G-code 38.31% Python 60.58% Shell 0.10%
cnc-controller cnc-programming creativecodeart creativecoding gcode-generation gcode-parser generativeart gpt gpt-3 grbl

a-question's Introduction

A Question

?

ไธ€้—ฎ

Questions are very much the connections of our intangible and intermittent thoughts. Branching dialogues through space and time, it extends our scope of knowing, and directs us to our boundaries of the unknown. Through language, the ability to extract from abstract, we formulate the flows and flux of our stream of consciousness. Questions inherits past memories and flourishes future imaginations. Stemming from the roots of our mind, and grows to gradually interweave as a interconnected whole. Enabling us to compose collectively, a continuous reflective monologue inherent within us, a question.

Screenshot 2022-10-14 182056

This project uses GPT-3 from OpenAI to generate open-ended question based on the user's response to the previous question, as the TouchDesigner program (A Question.toe) converts the text into SVG file, and then into G-Code, ultimately outputs via usb serial to control a CNC plotting machine (GRBL) to write out the generated question.

?

GPT-3 Prompt:

"Q: What harsh truths do you prefer to ignore?\nA: The truth of my ignorance of truths.\nQ: Is free will real or just an illusion?\nA: An illusion when it is real, real when it is an illusion.\nQ: Is there a meaning to life?\nA: You can decide for yourself\nQ: What should be the goal of humanity?\nA: Depends\nQ: Does fate exist?\nA: perhaps\nQ: What does it mean to live a good life?\nA: To not have to ask such question\nQ: Why do we dream?\nA: because we believe\nQ: what is?\nA: {Input}\nQ:"

Screenshot 2021-06-22 205935

SOP to SVG pipeline by Matthew Ragan:

https://github.com/raganmd/touchdesigner-sop-to-svg

SVG to G-CODE (GRBL) python script from:

https://github.com/vishpat/svg2gcode

CNC.tox:

I made a custom tox in TouchDesigner that automatically reads G-Code file and controls CNC plotter via usb serial

Screenshot 2022-10-14 181854

a-question's People

Contributors

connorysm avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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.