Clojure startup OrgPad is Top 3 on ProductHunt today

This page summarizes the projects mentioned and recommended in the original post on /r/Clojure

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • react-motion

    A spring that solves your animation problems.

  • Thanks. Let me write some information concerning our ClojureScript frontend. We wanted to use physics-based animations using springs since only these animations make sense. Sadly the browser decided to only support silly animations which are described in terms of curves and durations. Spring animations are used on both MacOS and iOS and they look much better, since they have the natural feeling. Originally, we were using React Motion for them which would be fine for a small project. But running a lot of animations at the same time is very taxing since every frame of the animation has to go through React and all these layers. Therefore, I spent about 4 months completely rewriting most of our frontend code related to rendering and UI interactions within OrgPage. Unlike React Motion and probably any other spring-based animation library, we do not simulate these springs but instead analytically solve their differential equations. (Luckily I have a strong background in math.) I created the OrgPage https://orgpad.com/s/yRyR-GOU0Pm which summarizes math and my approach. Our animations code consists of about 5k lines of code where maybe 1k is the physics itself and computation of animation maps. The remaining 4k lines are low level controls where particular OrgPage elements are animated using requestAnimationFrame. We always calculate their new positions/sizes/etc. and apply DOM mutations, completely bypassing React, Reagent and Re-frame. There are a lot of clever optimizations to get the current speed. In upcoming months, I plan to investigate WebGL rendering which we could use to render larger parts of the documents, hopefully making everything even faster.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts