Code Monkey home page Code Monkey logo

Comments (5)

TylerFisher avatar TylerFisher commented on August 31, 2024

I think depict pretty well covers what we want to do. It would just add some more stuff you have to install when you get the repo going (phantomjs through homebrew and depict through npm). I'm not aware of anything Python-based that would also do this so we could just add to requirements.

Basically, this will require a headless browser, and phantomjs is the standard there. I think installing depict and adding that to the render function is the best course of action.

from dailygraphics.

onyxfish avatar onyxfish commented on August 31, 2024

Thought this might be a quick thing to implement, but sadly...

[truncated]

/Users/onyxfish/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: note: declared protected
      here
  V8_INLINE HandleScope() {}
            ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.

from dailygraphics.

onyxfish avatar onyxfish commented on August 31, 2024

Note for posterity: Had the bright idea to try html2canvas from the parent. It doesn't work. iFrames don't render at all and apparently there are also issues with SVG rendering.

from dailygraphics.

onyxfish avatar onyxfish commented on August 31, 2024

Mostly working on branch preview. Remaining issues:

  • WebFonts aren't loading.
  • Logo needs composited in.

from dailygraphics.

onyxfish avatar onyxfish commented on August 31, 2024

WebFonts are now working with slimer, but the slimer install process is a bit of a mess. :/

from dailygraphics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.