853 karma · joined Aug 16, 2011 (15y ago) · 112 submissions
comment 10y ago · link · parent
92.
Building a professional design tool on the web using C++ and Emscripten(medium.com ↗)
105 points · by constexpr · 10y ago · 14 comments
comment 10y ago · link · parent
I'm the cofounder of Figma, a startup in San Francisco building a browser-based collaborative design tool to improve the way designers and engineers work together. We're a small team of 15, and we're looking for talented designers and engineers (front end, backend, full stack, lead devops, mobile, and data science) who are interested in tackling challenges in the creative tools space.
Example challenges: annotation system on top of documents for feedback, 2D boolean operations on paths, speed up zooming in the app using a tile quadtree, UI testing framework that simulates user actions, real-time events and data pushing across the site, zero-downtime deployments, search API for filtering user files.
Our tech stack: C++, Emscripten, Node, CoffeeScript, JavaScript, WebGL, Ruby, Sinatra
If you're interested in learning more about what we're working on or want to meet up to talk about any of my other projects (http://madebyevan.com/), you can email me at wallace@figma.com.
comment 11y ago · link · parent
I'm the cofounder of Figma, a stealth startup in San Francisco building a browser-based collaborative design tool to improve the way designers and engineers work together. We're a small team of 14, and we're looking for talented designers and engineers (front end, backend, full stack, lead devops, mobile, and data science) who are interested in tackling challenges in the creative tools space.
Example challenges: annotation system on top of documents for feedback, 2D boolean operations on paths, speed up zooming in the app using a tile quadtree, UI testing framework that simulates user actions, real-time events and data pushing across the site, zero-downtime deployments, search API for filtering user files.
Our tech stack: C++, Emscripten, Node, CoffeeScript, JavaScript, WebGL, Ruby, Sinatra
If you're interested in learning more about what we're working on or want to meet up to talk about any of my other projects (http://madebyevan.com/), you can email me at wallace@figma.com.
comment 11y ago · link · parent
comment 11y ago · link · parent
I'm the cofounder of Figma, a stealth startup in San Francisco building a browser-based collaborative design tool to improve the way designers and engineers work together. We're a small team of 14, and we're looking for talented designers and engineers (front end, backend, full stack, lead devops, lead quality, mobile, and data science) who are interested in tackling challenges in the creative tools space.
Example challenges: annotation system on top of documents for feedback, 2D boolean operations on paths, speed up zooming in the app using a tile quadtree, UI testing framework that simulates user actions, real-time events and data pushing across the site, zero-downtime deployments, search API for filtering user files.
Our tech stack: C++, Emscripten, Node, CoffeeScript, JavaScript, WebGL, Ruby, Sinatra
If you're interested in learning more about what we're working on or want to meet up to talk about any of my other projects (http://madebyevan.com/), you can email me at wallace@figma.com.
comment 11y ago · link · parent
comment 11y ago · link · parent
I'm the cofounder of Figma, a stealth startup in San Francisco building a browser-based collaborative design tool to improve the way designers and engineers work together. We're a small team of 12, and we're looking for talented designers and engineers (front end, backend, full stack, lead devops, lead quality, mobile, and data science) who are interested in tackling challenges in the creative tools space.
Example challenges: annotation system on top of documents for feedback, 2D boolean operations on paths, speed up zooming in the app using a tile quadtree, UI testing framework that simulates user actions, real-time events and data pushing across the site, zero-downtime deployments, search API for filtering user files.
Our tech stack: C++, Emscripten, Node, CoffeeScript, JavaScript, WebGL, Ruby, Sinatra
If you're interested in learning more about what we're working on or want to meet up to talk about any of my other projects (http://madebyevan.com/), you can email me at wallace@figma.com.
comment 11y ago · link · parent
Example challenges: annotation system on top of documents for feedback, 2D boolean operations on paths, speed up zooming in the app using a tile quadtree, UI testing framework that simulates user actions, real-time events and data pushing across the site, zero-downtime deployments, search API for filtering user files.
Our tech stack: C++, Emscripten, Node, CoffeeScript, JavaScript, WebGL, Ruby, Sinatra
If you're interested in learning more about what we're working on or want to meet up to talk about any of my other projects (http://madebyevan.com/), you can email me at wallace@figma.com.
comment 11y ago · link · parent
101.
Swift WTF(swiftwtf.tumblr.com ↗)
79 points · by constexpr · 11y ago · 37 comments
comment 11y ago · link · parent
comment 11y ago · link · parent
comment 11y ago · link · parent
comment 12y ago · link · parent
comment 12y ago · link · parent
comment 12y ago · link · parent
comment 12y ago · link · parent
comment 12y ago · link · parent
The caustics are also pretty simple. Basically you take your heightfield mesh that represents the water surface and project each vertex independently along the ray refracted from the light through that vertex (using the vertex normal) and onto the pool floor. So you now have a mesh that is completely on the pool floor and contains lots of tiny triangles. To render caustics, just make triangles that got smaller brighter and ones that got bigger dimmer. I think I used the ratio of the projected area to the original resting area.
The reflection and refraction raytracing is all hard-coded for the geometry in the scene, which makes it really easy. It's just a simple sphere and box intersection test. The "ambient occlusion" is done by making parts of the objects darker when they get near each other.
State of the art for real-time water uses a full 3D volumetric representation for the water like in this paper: http://www.matthiasmueller.info/publications/tallcells.pdf. This lets you get waves that can fold over themselves like real waves. I haven't seen any other realtime methods that have caustics as good as the ones in my demo though.
111.
C++ to JavaScript: Emscripten, Mandreel, and now Duetto(mozakai.blogspot.com ↗)
12 points · by constexpr · 13y ago · discuss
comment 13y ago · link · parent
The thing that appeals to me about asm.js is that it short-cuts the long, slow path of VM optimization and gives great performance now instead of five years down the road. Sure it's an ugly hack but that doesn't matter to your users, all they see is a much faster user experience.
Now all we need is a SIMD API for JS and we can write some truly amazing apps.