6 ms·
Show HN: Triangul-Art – make pixel art but with triangles
- maxwellito 11y agoIt's very easy to create something nice with it. https://www.instagram.com/p/BDgZ_bQI-hO/ https://www.instagram.com/p/BDgZ_bQI-hO/ But this is a dummy basic editor. I know a looooot of features are missing. Check the GitHub repo for more info.
- amelius 11y agoWhat is the best way to draw an (xy-axis-aligned) rectangle with this? And what is the word for xy-axis-aligned rectangle? :)
- Franciscouzo 11y agojust axis-aligned rectangle
- amelius 11y agoYes, but in this case it is not clear where the axes run.
- TheCams 11y agoIf you're referring to a bounding box, it's called AABB (axis aligned bounding box). So I guess AA rectangle would be ok.
- evincarofautumn 11y agoI’ve heard people (mainly German software developers) use “paraxial rectangle” for this.
- birslip 11y agoCool concept! It reminds my of Hexels: http://www.marmoset.co/hexels http://www.marmoset.co/hexels
- maxwellito 11y agoThat is sliiiiick! :)
- LoSboccacc 11y agoit misses a easier way to share our creations
- maxwellito 11y agoUnfortunately it's a bit difficult to have good sharing interaction from a static webapp hosted on github. Plus, the SVG rendering on browser is not good enough (you can see the sharpness) to export the drawing as a picture for future sharing.
- jbnicolai 11y agoJust serialize the state in the hashfragment of the URL ;)
- maxwellito 11y agoBetter find a good and efficient way to serialise it, otherwise it's gonna reach the URL length limitation. :-O But if you're up for it, please make a PR! :-D
- chii 11y agomy only suggestion is to use something like https://gildas-lormeau.github.io/zip.js/ https://gildas-lormeau.github.io/zip.js/ and compress before base64 encoding into the URL.
- wyldfire 11y agoJust encode the hashes of all possible bitmaps into the code of the site. Lookup the hash and display the bitmap. A simple 256-bit hash is probably plenty but if I'm off by a few thousand orders of magnitude, just make it a 512-bit hash. :)
- anowlcalledjosh 11y agoBase65536 https://github.com/ferno/base65536 https://github.com/ferno/base65536 (only slightly /s)
- AstroJetson 11y agoThanks, that was a nice 20 min diversion for the morning!
- imaginenore 11y agoFails on mobile. You need to catch the tap events, not just mouse clicks.
- cstuder 11y agoNice surprise: That's the first time I saw an <input type="color" /> in action.
- SagelyGuru 11y agoIt would be better to allow higher level structures, such as hexagons of six triangles each.
- SagelyGuru 11y agoIt would be better to allow higher level structures, such as hexagons of six triangles each.
- chillitom 11y agoVery nice! An option to choose a hexagon shaped canvas and have it repeatedly tiled would be great for designing bathroom floors.
- llimllib 11y agoRelated: https://trixel.io/ https://trixel.io/
- phkahler 11y agoThere is something about this that makes certain kinds of things easier to draw. And I'm not talking about isometrics. Not sure what it is...
- ajuc 11y agoIt's the constraints I think. They restrict search space to something more maneagable, and make creating stuff much easier. Same reason minecraft and lego are such inspiring tools.
- semi-extrinsic 11y ago"The more constraints one imposes, the more one frees one's self." - Igor Stravinsky
- Retr0spectrum 11y agoThis was fun: https://i.imgur.com/rOZxLAz.png https://i.imgur.com/rOZxLAz.png
- karmakaze 11y agoLite-Brite (1967) https://www.google.ca/search?q=lite+bright&tbm=isch https://www.google.ca/search?q=lite+bright&tbm=isch
- dahart 11y agoPretty cool! Makes me feel a little like I'm drawing with Rubik's snakes. ;) First time I somehow didn't notice the color picker, which is simple & effective. Having a couple preset colors already there might not hurt though?
- iamleppert 11y agoIs that color picker a built-in?
- maxwellito 11y agoYup. Depending on your operating system the UX is more or less good.
- pfd1986 11y agoIs there anything like this in 3D? I mean, hexagonal prisms instead of hexagons/triangles/squares? I know magicaVoxel does, well, voxels....
- vkjv 11y agoI always wondered how Hashicorp designed their logos and now I know!
- ninjakeyboard 11y agoI like it but it doesn't make me feel nostalgia like pixels :)
- Razengan 11y agoReminds me of the art style in Ridiculous Fishing. https://www.google.com/search?q=Ridiculous+Fishing&tbm=isch https://www.google.com/search?q=Ridiculous+Fishing&tbm=isch
- paraknight 11y agoReverting to pixel art: http://i.imgur.com/fEmDEjK.png http://i.imgur.com/fEmDEjK.png