TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Kubist, a little web app to make cubism-like images

231 点作者 metaphorical大约 10 年前

21 条评论

dllu大约 10 年前
It&#x27;s really cool that Poisson disc sampling is used to generate the points. Here, best-candidate sampling is used, based on [1]. But have you considered using the possibly faster Bridson&#x27;s algorithm [2]?<p>Using Harris corners to analyze the picture is a cool idea too. Good job!<p>[1] <a href="http:&#x2F;&#x2F;bl.ocks.org&#x2F;mbostock&#x2F;b17e0b2aa8b2d50de465" rel="nofollow">http:&#x2F;&#x2F;bl.ocks.org&#x2F;mbostock&#x2F;b17e0b2aa8b2d50de465</a> [2] <a href="https:&#x2F;&#x2F;www.jasondavies.com&#x2F;poisson-disc&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.jasondavies.com&#x2F;poisson-disc&#x2F;</a>
评论 #9411589 未加载
评论 #9411118 未加载
nbartlomiej大约 10 年前
I&#x27;ve made an app for the similar art style: <a href="http:&#x2F;&#x2F;polygenapp.com" rel="nofollow">http:&#x2F;&#x2F;polygenapp.com</a> , it has been discussed on HN not long ago: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8966928" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8966928</a> . Here&#x27;s a complete list of tools that I&#x27;m using, if anyone&#x27;s interested: <a href="https:&#x2F;&#x2F;medium.com&#x2F;@polygenapp&#x2F;frameworks-libraries-and-other-tools-used-in-the-making-of-polygen-app-a79694fe87f" rel="nofollow">https:&#x2F;&#x2F;medium.com&#x2F;@polygenapp&#x2F;frameworks-libraries-and-othe...</a> .
评论 #9414634 未加载
评论 #9411338 未加载
ris大约 10 年前
That&#x27;s... not cubism.
评论 #9411330 未加载
评论 #9411327 未加载
评论 #9411334 未加载
评论 #9411544 未加载
hiphopyo大约 10 年前
Looks quite similar to <a href="http:&#x2F;&#x2F;close-pixelate.desandro.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;close-pixelate.desandro.com&#x2F;</a> -- good job!
评论 #9410985 未加载
metaphorical大约 10 年前
Btw, this is the original &quot;Kubist&quot; I made with Processing a couple years ago. It uses opencv instead of JSFeat for feature point detection, and Mesh library instead of d3.<p><a href="http:&#x2F;&#x2F;www.metaphorical.net&#x2F;note&#x2F;on&#x2F;kubist" rel="nofollow">http:&#x2F;&#x2F;www.metaphorical.net&#x2F;note&#x2F;on&#x2F;kubist</a> (really old website, sorry it&#x27;s kind of unusable :P)
评论 #9411701 未加载
vezzy-fnord大约 10 年前
&quot;The guy&quot; being Mao Zedong is a nice touch, I&#x27;ll grant that.
msurguy大约 10 年前
Very cool!<p>I love that you can generate these patterns from images, the gradients are a killer feature!<p>I&#x27;ve made a tool that also generates Delaunay Triangulation patterns but lacks importing of an image. Check it out as well: <a href="http:&#x2F;&#x2F;msurguy.github.io&#x2F;triangles&#x2F;" rel="nofollow">http:&#x2F;&#x2F;msurguy.github.io&#x2F;triangles&#x2F;</a>
评论 #9412403 未加载
评论 #9412579 未加载
mihau大约 10 年前
Photos look somewhat more modern after that. It&#x27;s exactly what I needed. Simple, does one thing right :)
d55大约 10 年前
I failed in doing something very similar. Could you explain how you split the image up into triangles?
评论 #9410703 未加载
评论 #9410974 未加载
ComNik大约 10 年前
Really really nice. Enjoyed playing around with it. The resulting images are very appealing to me.
评论 #9411506 未加载
cturhan大约 10 年前
I searched for a long time to find a online triangulation app but couldn&#x27;t find. I end up with using a mac app, mesh[1] Thanks<p>[1] <a href="http:&#x2F;&#x2F;dmesh.thedofl.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;dmesh.thedofl.com&#x2F;</a>
RevRal大约 10 年前
My little Kubes:<p><a href="http:&#x2F;&#x2F;i.imgur.com&#x2F;upxc3A3.png" rel="nofollow">http:&#x2F;&#x2F;i.imgur.com&#x2F;upxc3A3.png</a><p><a href="http:&#x2F;&#x2F;i.imgur.com&#x2F;1iLB1WI.png" rel="nofollow">http:&#x2F;&#x2F;i.imgur.com&#x2F;1iLB1WI.png</a>
评论 #9412817 未加载
dmnd大约 10 年前
Nice work! A small suggestion: live update the image when I drag a point around. It&#x27;s annoying to have to click, drag, release, click, drag, release when making small adjustments.
评论 #9411693 未加载
dvh大约 10 年前
You shoud set min attribute for border input element to 0 so it cannot go to negative numbers, like this: &lt;input type=&quot;number&quot; min=&quot;0&quot; ...
DannoHung大约 10 年前
Nifty. Kinda reminds me of the Waterlogue[1] app.<p>[1] <a href="http:&#x2F;&#x2F;www.waterlogueapp.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.waterlogueapp.com&#x2F;</a>
nulltype大约 10 年前
Here&#x27;s a similar thing I made that just generates these sorts of triangles with some diffuse lighting: <a href="http:&#x2F;&#x2F;christopherhesse.github.io&#x2F;delaunay-experiment&#x2F;" rel="nofollow">http:&#x2F;&#x2F;christopherhesse.github.io&#x2F;delaunay-experiment&#x2F;</a>
CleanCoder大约 10 年前
Thank you for not registering a stand-alone domain to host this.
评论 #9410948 未加载
camillomiller大约 10 年前
Cool. Very helpful to create color palettes from a picture.
ggchappell大约 10 年前
Cute. I take it that the &quot;cell&quot; version is a Voronoi diagram, and the &quot;triangle&quot; version is its dual?
评论 #9411681 未加载
carterehsmith大约 10 年前
Heh, cute. BTW the source code link is at the bottom left.
akilism大约 10 年前
nice...<p>love code art. jenn schiffer has some nice stuff @ <a href="http:&#x2F;&#x2F;vart.institute&#x2F;" rel="nofollow">http:&#x2F;&#x2F;vart.institute&#x2F;</a>