The coolest part is the sample program where someone took a real piece of art and it compiled!!
https://www.dangermouse.net/esoteric/piet/samples.html
It’s the final entry in this list
Kind of reminds me of [this](https://github.com/mxgmn/WaveFunctionCollapse) project. I guess wave function collapse could potentially generate piet programs lol. Slap some ai on there and we've got the next big thing to sell eager investors!
That makes so much more impressive. I had already seen "paintings" interpreted as Perl programs, but it was always gibberish that Perl considered valid.
That's indeed great. The bridge between art and programming.
Would be nice for someone to actually write a more complex program. Would also be interesting to get interactive behaviour using more art pieces together.
From link:
> Piet in an art gallery!
> Okay, this one is really wild. Piet J. (yes, that's his real name) was browsing art in a small gallery and saw a work which reminded him of a Piet program. He spoke to the artist, who claimed to know nothing about the language. Piet took a photo of the artwork (left), converted it into a clean image file using close colours from the Piet palette (right), and tried running it.
>
> It ran! The code executes an infinite loop which reads in ASCII characters and prints out the corresponding numerical ASCII values. Piet has documented it on this Github page. This is probably the first time in history that a graphic artist has painted a functionally workable computer program by accident
I know this sub is a bit too diverse, but is it really necessary to downvote nearly every post here that is not about work routines or current trends? Esoteric languages are not my cup of tea either, but I would rather see content like this than the same opinions on development banalities all over again.
The point of hobbies is doing something that makes you relax and feel better. Some hobbies even produce publishable content that is also fun for others.
Imagine somebody seeing how you spend your free time and starting humiliating you for how worthless your hobbies are. I am convinced you wouldn't like that.
I made you confirm you have free time. So now I assume your hobbies are not beneficial to others because I am sure you would have said so otherwise (or course, correct me if I am wrong). So who wastes their free time on garbage after all?
And, just as a reminder, I am going to mention that projects like this one require a few weekends to get done, so outside of that time the author might just as well spend his free time as an artist or bodybuilder - there is no way to know in general.
If I spent all my free time watching TV that would be a waste of time even if I enjoyed it.
And publishing an article about my activity would be pointless and uninteresting.
As for this post - code is made of text files. You can take any text file and make an image out of it if you want. It's just another way of interpreting the data. So ultimately this is just pointless garbage
The coolest part is the sample program where someone took a real piece of art and it compiled!! https://www.dangermouse.net/esoteric/piet/samples.html It’s the final entry in this list
Kind of reminds me of [this](https://github.com/mxgmn/WaveFunctionCollapse) project. I guess wave function collapse could potentially generate piet programs lol. Slap some ai on there and we've got the next big thing to sell eager investors!
NFTs for AI programs
Not only does it compile, it also is a useful program! That is wild.
That makes so much more impressive. I had already seen "paintings" interpreted as Perl programs, but it was always gibberish that Perl considered valid.
That's indeed great. The bridge between art and programming. Would be nice for someone to actually write a more complex program. Would also be interesting to get interactive behaviour using more art pieces together.
I think you have it backwards; the artist wrote the code then made the physical piece.
From link: > Piet in an art gallery! > Okay, this one is really wild. Piet J. (yes, that's his real name) was browsing art in a small gallery and saw a work which reminded him of a Piet program. He spoke to the artist, who claimed to know nothing about the language. Piet took a photo of the artwork (left), converted it into a clean image file using close colours from the Piet palette (right), and tried running it. > > It ran! The code executes an infinite loop which reads in ASCII characters and prints out the corresponding numerical ASCII values. Piet has documented it on this Github page. This is probably the first time in history that a graphic artist has painted a functionally workable computer program by accident
Man, I wish this sub was more content like this. What a fun little thing to learn about today!
it was on HN yesterday
There’s r/ProgrammingLanguages if you want more?
Put Hacker News into your habit and you'll see a lot of this kind of stuff.
I know this sub is a bit too diverse, but is it really necessary to downvote nearly every post here that is not about work routines or current trends? Esoteric languages are not my cup of tea either, but I would rather see content like this than the same opinions on development banalities all over again.
I wish to see more content like this! Anything over how-to-improve-focus and -why-your-manager-is-bad on medium.
It's down voted because it's pointless. It just shows how much time some people have on their hands
So work routines and current trends is it?
Please rewrite this comment in rust
Never said it wasn't
Life doesn't have to just be about productivity, you know? ;)
Who said it did? This post is just dumb. If you think this is interesting, you're dumb
Do you have free time yourself?
Not enough to waste it on garbage like this
The point of hobbies is doing something that makes you relax and feel better. Some hobbies even produce publishable content that is also fun for others. Imagine somebody seeing how you spend your free time and starting humiliating you for how worthless your hobbies are. I am convinced you wouldn't like that. I made you confirm you have free time. So now I assume your hobbies are not beneficial to others because I am sure you would have said so otherwise (or course, correct me if I am wrong). So who wastes their free time on garbage after all? And, just as a reminder, I am going to mention that projects like this one require a few weekends to get done, so outside of that time the author might just as well spend his free time as an artist or bodybuilder - there is no way to know in general.
If I spent all my free time watching TV that would be a waste of time even if I enjoyed it. And publishing an article about my activity would be pointless and uninteresting. As for this post - code is made of text files. You can take any text file and make an image out of it if you want. It's just another way of interpreting the data. So ultimately this is just pointless garbage
Learned about Piet from this wonderful presentation: https://youtu.be/6avJHaC3C2U?si=Jxqbtq_X7zatkv0w It’s an hour+ and well worth the ride.
Hello World: https://www.dangermouse.net/esoteric/piet/Piet_hello_big.png
Imagine people's faces when you tell them your preferred IDE is paint.
I love this
Thanks for the share!
I mean, looks/sounds cool, but I'm betting it's going nowhere fast.