Make Screengrabs Great Again

Make Screengrabs Great Again

I recently created a project to explore Niklas von Hertzen's javascript library Html2Canvas. https://html2canvas.hertzen.com/

It creates a 'screenshot' of a DOM element by treating it as a canvas element. You then have access to it by referencing the data url.

canvas.toDataURL();

Once you have that, it can be passed to your backend and packaged up as a file.

I used the realtime feedback properties of Vue.js for the interface. So the user can see how their message is being rendered as they type.


要查看或添加评论,请登录

Peter DuCharme的更多文章

  • The Art of Randomness: Brian Eno, Digital Experimentation, and Finding a Linear Narrative

    The Art of Randomness: Brian Eno, Digital Experimentation, and Finding a Linear Narrative

    Last night, I watched Gary Hustwit’s documentary “Eno” at the Portland Museum of Art. What stood out the most to me was…

    2 条评论
  • In the Skies of London

    In the Skies of London

    By combining WEB VR and real-time data from an API, I was curious to see what kind of experience I could create. It was…

    1 条评论
  • Paying Tribute to Kraftwerk's Florian Schneider

    Paying Tribute to Kraftwerk's Florian Schneider

    One way AREA 17 is staying connected to our staff during the pandemic is hosting a streaming radio hour at noon during…

    2 条评论
  • The Theremin Puppet

    The Theremin Puppet

    Theremins were invented in 1920 by a Russian physicist named Lev Termen (in the United States his name was Leon…

    2 条评论
  • Meta Minimalism: Steve Reich's "It's Gonna Rain" & YouTube

    Meta Minimalism: Steve Reich's "It's Gonna Rain" & YouTube

    I was playing around with YouTube's API to see how precisely I could manage the start of a loop. After some…

  • Stranger GIFs

    Stranger GIFs

    This June the image file format GIF (graphics interchange format) celebrated 25 years of use. The original intent was…

  • Oblique & Hilarious

    Oblique & Hilarious

    Oblique Strategies is a set of cards created by Brian Eno, and Peter Schmidt used to break creative blocks in creative…

    1 条评论
  • If James Joyce Wrote With HTML5

    If James Joyce Wrote With HTML5

    At the conclusion of James Joyce's modernist masterpiece 'Ulysses,' Molly Bloom lays in bed next to her husband Leopold…

  • Very Cool Animation for Sean Carroll's Spark

    Very Cool Animation for Sean Carroll's Spark

    Our latest installment for Spark.Nautil.

  • Calling All Illustrators!

    Calling All Illustrators!

    This Spring I helped launch a new site for the National Illustration Conference in Austin, Texas. The conference brings…

社区洞察

其他会员也浏览了