Lurker News

Comments (70) 33 threads

Show all comments

Showing thread 2 of 33

pkrein3 replies#
Quick example of how we use this at Segment... for each integration (https://segment.io/integrations) we need to create a vector logo. This got a bit tedious after the first 50 :) so we built nightmare + nightmare-swiftly so that our chat bot could "auto-generate" vector logos: https://cloudup.com/cEA-dTd3glM

Hope it's helpful!

bennyg1 reply#
Is it doing this by checking colored pixel areas and making SVG shapes for them? If so, whatever you use should replace Illustrator's Image Trace functionality, cause that is so bad at creating crisp vector copies of things.
aarondf2 replies#
Looks like they are submitting it to Swiftly, and then a human does it.
pkrein#
yep this
bennyg#
:( - I was hoping for a cool algorithm to determine that. Haha maybe I'll write one.
baudehlo#
Please note that because you used the base "phantom" library from npm it won't ever work with cluster (because node doesn't do the right thing with port=0 under cluster).

You'd have to switch to node-phantom-simple. Which might be worthwhile anyway because the phantom library you've used proved massively unstable at scale for us - I wrote it because of the need to work under cluster, and because dnode communication was bloated and unstable.

dhotson#
Hey Peter,

Swiftly lead dev here. Just wanted to say this is very cool! I was a little bit surprised to see us in your examples.
We've been looking into improving our end-to-end testing tools, but it looks like you guys have already taken care of it. Nice work! ;-)