This is a recreation (for the purpose of tinkering with an implementation in d3.js) of the example from the book SVG Essentials by J. David Eisenberg.
The <feColorMatrix> element allows to change color values in a following way.
| # This script may use ~8 MiB Memory, it is fast and safe | |
| def find_IP(dns_ser, domain, timeout = 2): | |
| import dns.resolver, sys | |
| try: | |
| T = dns.resolver.Resolver(); T.nameservers = [dns_ser, ]; T.timeout = T.lifetime = timeout | |
| answers = T.query(domain, raise_on_no_answer=False) | |
| return [rdata for rdata in answers] | |
| except Exception as e: | |
| if e.__class__.__base__ == dns.exception.DNSException: |
This is a recreation (for the purpose of tinkering with an implementation in d3.js) of the example from the book SVG Essentials by J. David Eisenberg.
The <feColorMatrix> element allows to change color values in a following way.
| body { | |
| font-family: Helvetica, arial, sans-serif; | |
| font-size: 14px; | |
| line-height: 1.6; | |
| padding-top: 10px; | |
| padding-bottom: 10px; | |
| background-color: white; | |
| padding: 30px; } | |
| body > *:first-child { |