3 ms·
Quick example of how we use this at Segment... for each integration (https://segment.io/integrations https://segment.io/integrations) we need to create a vector
by pkrein 12y ago
Quick example of how we use this at Segment... for each integration (https://segment.io/integrations 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 https://cloudup.com/cEA-dTd3glM
Hope it's helpful!
- bennyg 12y agoIs 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.
- baudehlo 12y agoPlease 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 12y agoHey 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! ;-)