Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benjitrosch/chatGL
GLSL shader generator using GPT-3 🤖🎨
https://github.com/benjitrosch/chatGL
chatgpt generative-art glsl gpt-3 gpt-3-5-turbo gpt3-turbo graphics shaders webgl
Last synced: about 1 month ago
JSON representation
GLSL shader generator using GPT-3 🤖🎨
- Host: GitHub
- URL: https://github.com/benjitrosch/chatGL
- Owner: benjitrosch
- License: mit
- Created: 2023-04-19T22:54:37.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-21T23:04:30.000Z (11 months ago)
- Last Synced: 2024-11-19T08:53:40.485Z (about 1 month ago)
- Topics: chatgpt, generative-art, glsl, gpt-3, gpt-3-5-turbo, gpt3-turbo, graphics, shaders, webgl
- Language: TypeScript
- Homepage: https://chatgl.ai/
- Size: 146 KB
- Stars: 54
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# chatGL
GLSL fragment shader generator using `gpt-3.5-turbo` wrapped in a fast Vanilla Typescript + Vite frontend.
> NOTE: The prompts are meant to produce interesting pseudo-random generative art using fragment shaders, not to build anything precise. You're just as well off using a totally random prompt as you are a guided one.
## Quick Start
1. Generate an openAI API key - https://platform.openai.com/account/api-keys
2. Create an `.env` file and put your key in `OPENAI_API_KEY`
3. Run `npm run build` to build the frontend and `npm start` to start the server
4. Visit http://localhost:6006\- or -
1. Visit https://chatgl.ai
![Apr-21-2023 19-54-07 (1)](https://user-images.githubusercontent.com/64439681/233750420-b63738db-67a3-47c3-b727-b9a923841a26.gif)
## Acknowledgements
* [Harley Turan](https://twitter.com/hturan/status/1638230938080485376) using GPT-4 for MIDI-controllable shaders
* [Jordan Scales](https://github.com/jdan/deepdive) using the [EventSource browser API](https://developer.mozilla.org/en-US/docs/Web/API/EventSource) to stream AI response
* [Ben Follington](https://github.com/bfollington/) for inspiring the user interface
---### License
This project is licensed under the MIT License - see the [LICENSE.md](https://github.com/benjitrosch/chatGL/blob/main/LICENSE) file for details.