Giter Site home page Giter Site logo

pixel_smear's Introduction

Pixel Smear

This app lets you open an image, and then move your cursor over the image and see horizontal bands of light corresponding to the vertical column of pixels at the location of your cursor.

Background

I got the idea when my friend Kiba showed me a printing error one time. A large inkjet printer began printing an image, and then there was a glitch, causing the printhead to repeat the same line over and over for the remainder of the page. It was strangely beautiful! I have re-created this effect several times in Photoshop and I thought it might be neat to see the effect happen in realtime. I had also been wanting to do more GUI stuff with Python, so this seemed like a good starting place. (Normally I just do backend work with Python… And web apps with Django.)

Process

In addition to wanting to do more GUI stuff with Python, I had also been meaning to try out GPT-4. I'm not good at mathy-coding-graphics-stuff, but I'm ok with hands-on graphics stuff, so I wrote up a detailed prompt for what I wanted the app to do and submitted it to GPT-4. Holy shit. It gave GREAT output. I responded once, then took that revised output and made only one or two very tiny edits to get this thing to do what I wanted it to do. Pretty crazy. Here's a link to the prompt and output. And some sample images of this thing in action.

pixel smear in motion local

pixel smear still

pixel_smear's People

Contributors

efstone avatar

Watchers

 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.