Giter Site home page Giter Site logo

blinn's Introduction

                            ██████╗ ██╗     ██╗███╗   ██╗███╗   ██╗
                            ██╔══██╗██║     ██║████╗  ██║████╗  ██║
                            ██████╔╝██║     ██║██╔██╗ ██║██╔██╗ ██║
                            ██╔══██╗██║     ██║██║╚██╗██║██║╚██╗██║
                            ██████╔╝███████╗██║██║ ╚████║██║ ╚████║
                            ╚═════╝ ╚══════╝╚═╝╚═╝  ╚═══╝╚═╝  ╚═══╝

Blinn: Explore Shaders with LLMs

Welcome to Blinn, a tool to play around with fragment shaders, with live changes and AI prompting.

The name Blinn is in recognition of Jim Blinn, a pioneering computer scientist whose work has significantly influenced the field of computer graphics. His contributions to the development of texture mapping and the Blinn-Phong shading model have laid foundational principles that continue to shape how we render and perceive digital imagery today.

Features Checklist

  • Real-time Shader Editing: Blinn provides a real-time editing environment for fragment shaders, allowing you to see the effects of your code as you type.

Real-time Shader Editing

  • AI Assistance: Leverage the capabilities of Claude through the blinn-api to generate shader code, optimize performance, and get creative suggestions.
  • Three.js Integration: Built on top of Three.js, Blinn offers a seamless experience for those familiar with the library and those new to 3D web development.
  • Channels and Inputs: User defined channels and different inputs (Mouse positions, textures.. etc).
  • Shader's archive and User Mngmnt: Store a history of your shaders.
  • Vertex Shaders: Write and explore vertex shaders applied to geometric primitives. (Possibly add your meshes later).
  • Preloaded Examples: Jump straight into shader development with preloaded examples showcasing what's possible with Blinn and Three.js.
  • Explain: Ask questions about specific parts of the shader.
  • Record: Record shader and download it in video/gif format.

Configuration

Before running Blinn, you need to set up an environment variable to connect with the Blinn API. Create a .env file in the root of your project and add the following line:

VITE_BLINN_API_ENDPOINT="YOUR_API_ENDPOINT_HERE"

Getting Started

To get started with Blinn, clone the repository and install the dependencies:

git clone https://github.com/lessthan12parsecs/blinn.git
cd blinn
npm install
npm run dev

License

Blinn is open-sourced software licensed under the MIT license. See LICENSE.md for more details.

Author

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.