TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Render Arbitrary 3D Boolean Functions

8 pointsby unixpickleover 5 years ago

2 comments

unixpickleover 5 years ago
This is a web demo for creating 3D models in JavaScript. It uses a variant of ray casting that can render any function mapping `(x, y, z) -&gt; bool` in real-time.<p>It&#x27;s easy to define very interesting 3D models as boolean functions. In my opinion, it&#x27;s much easier than creating triangle meshes or composing a bunch of primitive shapes. I had fun making the examples, and I&#x27;m curious to see what other people can come up with.
评论 #22325049 未加载
photon_offover 5 years ago
I don&#x27;t have any feedback or strong opinions on this, but the concept of mapping (x,y,z)=&gt;bool and having it produce a 3d object is new to me. This is a very cool demonstration; thank you for sharing.