ofrohn / d3-celestial

A star map with d3.js
BSD 3-Clause "New" or "Revised" License
631 stars 179 forks source link

Azimuthal equidistant projection further than 90 degrees #146

Closed tammojan closed 10 months ago

tammojan commented 10 months ago

I'm trying to make a planisphere, with an azimuthal equidistant projection going from 90 degrees declination (NCP) down to 38 degrees declination (since I'm located at 52 degrees latitude). The standard sky map is extremely close to what I'm looking for, but goes down 90 degrees in declination. For azimuthalequidistant, going out further in declination is quite easy. Digging in the code, I don't see where the clipping happens. Probably deep in d3.geo.projection.js. Question: how could I get an azimuthal equidistant map out further than 90 degrees? Thanks in advance!

tammojan commented 10 months ago

To answer my own question: I was looking in the wrong place, this is just a config setting. Setting clip:false in config.js solves this.