repiet
andersource
repiet | andersource | |
---|---|---|
4 | 1 | |
85 | - | |
- | - | |
0.0 | - | |
over 4 years ago | - | |
Python | ||
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
repiet
- Piet
- Repiet: A compiler for the esoteric language Piet
-
[Day 1 (Part 1)] A solution in Piet, a language where programs look like abstract paintings
I’ve seen that there is a bit of tooling, I should give it a try.
-
Why I prefer making useless stuff
I didn't know anything about compilers, but I figured out how to compile Piet programs, so I wrote a compiler[1]. The project has stalled out for (a) lack of free time and (b) some silly ambitions, but I don't care what the public thinks about my lack of updates, and that's great. In the meantime, I've been going down weird rabbit holes and learning aspects of computing that I missed in school.
[1] https://github.com/boothby/repiet
andersource
-
Why I prefer making useless stuff
Thanks!
First I'm generating the general geometry of the wings - the most basic shape is a "teardrop" / half of the infinity symbol (see this[0]). Then they are scaled and rotated randomly (within a range to match the other parts of the wings), and further perturbed to make the shape more random. Then I'm drawing lines from the "tip" of the teardrop to the edges and using them to color the segments. The final result is rendered with Three.js[1].
Obviously this is a very succinct explanation, it took me quite some work. You're welcome to look at the code[2], though it's quite messy :)
[0] https://en.wikipedia.org/wiki/Lemniscate_of_Gerono
[1] https://threejs.org/
[2] https://github.com/andersource/andersource.github.io/blob/ma...
What are some alternatives?
unmaintained.tech - No Maintenance Intended
knox - A toy programming language written in Go that compiles to C.