News for hackers. Stuff that matters.
Re:Fangle: create interactive documents from plain text by mathisonian on Saturday August 05, 2017 @03:50PM (#14937544)
This is cool and has some overlap with a project I'm working on. https://idyll-lang.github.io/

Idyll provides this type of reactivity, but focuses more on making it easy for users to embed custom interactive components

Re:Fangle: create interactive documents from plain text by vanderZwan on Sunday August 06, 2017 @04:01AM (#14940304)
Dammit, why didn't I know about this two weeks ago? This looks like a perfect fit for my flame maps page[0] - it even uses React for custom components.

How do you handle dynamically resizing windows/screens and canvas? I had to jump through a whole lot of hoops[1][2] just to get it to play nicely with it

Especially on Firefox canvas does not seem to play nicely with flexbox, or any kind of CSS where you don't set the width/height explicitly in pixels.

[0] http://linnarssonlab.org/flamemaps/

[1] https://github.com/linnarsson-lab/flamemaps/blob/master/src/...

[2] https://github.com/linnarsson-lab/flamemaps/blob/master/src/...

Re:Fangle: create interactive documents from plain text by jf___ on Saturday August 05, 2017 @05:15PM (#14937944)
impressive, the quality of the documents is stunning, especially when you think of the potential for didactic / documentation purposes.

https://mathisonian.github.io/trig/etymology