[HN Gopher] Show HN: I built grafar, a cool visualization library
       ___________________________________________________________________
        
       Show HN: I built grafar, a cool visualization library
        
       Author : thoughtspile
       Score  : 84 points
       Date   : 2021-05-03 19:42 UTC (3 hours ago)
        
 (HTM) web link (thoughtspile.github.io)
 (TXT) w3m dump (thoughtspile.github.io)
        
       | hervature wrote:
       | This looks great. Just a heads up, the vsolve section of the
       | tutorial has comments in Russian(?). Otherwise, looks very clean
       | and useful.
        
         | thoughtspile wrote:
         | It does indeed have comments in Russian, thanks! Actually, the
         | entire source has comments in Russian, too -- I may need to
         | sort it out someday.
        
       | dkatz23238 wrote:
       | Thanks for sharing and creating, I have not been able to find
       | easy no-boilerplate 3d plotting in the browser for a while.
       | grafar seems to fit this niche well.
        
       | sillysaurusx wrote:
       | Some feedback: show me the result on the front page. It's a vis
       | lib, but you're not showing any of the visualizations (at least
       | on mobile). The code sandbox is ok, but it has no context or
       | description (again, mobile).
       | 
       | Neat lib.
        
         | thoughtspile wrote:
         | Ah, you must've hit a script load race condition -- I thought
         | that would be pretty rare. Should be fixed now, thanks for the
         | feedback!
        
       | krono wrote:
       | This is awesome! More amazing still is that my Macbook 16" isn't
       | even going into VTOL/Artic emergency space heater mode when
       | playing with the demos!
       | 
       | These sort of graphs always manage to surprise me with these
       | hidden patterns that the brain thinks it recognises but never
       | seems to be able to pinpoint.
       | 
       | Wish I knew what to do with a library like this in a personal
       | project. Sadly, mathematics isn't exactly my biggest strength...
       | 
       | If anyone has any cool graphs or visualisations with hidden
       | patterns or meaning to share I'd love to see them. And to stay on
       | topic and to not hijack the thread: bonus points if they were
       | (re)created using OP's lib :)
        
         | thoughtspile wrote:
         | I've been trying to come up with a side project that would use
         | it, make sense, and not involve just randomly sticking more
         | features in there for around 5 years now =) Actually I open
         | sourced it exactly for someone else to take a shot at it as
         | well.
        
       | mkl wrote:
       | This looks neat! I think you really need a gallery page that
       | shows all the kinds of things that are possible.
       | 
       | Is there a way to make the background transparent, so you just
       | see the page background behind the plot? I have a project that
       | needs that, and for 2D plots we're doing it with JSXGraph, but
       | for 3D we've been using GeoGebra so far, and the figures look
       | like something else embedded rather than an intrinsic part of the
       | page.
        
         | thoughtspile wrote:
         | You can style the container via CSS. There is actually a huge
         | pile of examples in the repo:
         | https://github.com/thoughtspile/grafar/tree/master/examples
         | Some of them are for older versions and need to be updated, and
         | I just couldn't find a quick way to slap a gallery into the
         | docs, but I might get to it someday.
        
       | SeriousM wrote:
       | This is great! And the examples work on the phone just without
       | any issues! Congratulations
        
       | noofen wrote:
       | Great work, I might use this in some of my apps. Beautiful and
       | lightweight, keep it up!
       | 
       | EDIT: Also, the link on your Github repo is broken.
        
         | thoughtspile wrote:
         | Not as lightweight as I'd like it to be (threejs is pretty
         | big), but in some respects it probably is.
         | 
         | Thanks for the heads up, I was too eager to get it out of the
         | door -- all the links should be OK now.
        
       ___________________________________________________________________
       (page generated 2021-05-03 23:00 UTC)