Coder Social home page Coder Social logo

Dymaxion projection? about d3-geo-projection HOT 14 CLOSED

d3 avatar d3 commented on May 2, 2024
Dymaxion projection?

from d3-geo-projection.

Comments (14)

Fil avatar Fil commented on May 2, 2024 7

airocean

Now fully implemented in d3-geo-polygon.

To avoid any IP issue I made a fresh implementation of the triangle transformation, and avoided the (possibly though not probably) trademarked name "Dymaxion".

https://beta.observablehq.com/@fil/airocean-projection
https://beta.observablehq.com/@fil/buckminster-fullers-triangle-transformation

from d3-geo-projection.

mbostock avatar mbostock commented on May 2, 2024 1

I didn’t mean to make that the default, I just meant in your demo…

from d3-geo-projection.

Fil avatar Fil commented on May 2, 2024

it's already there, by @jasondavies

https://www.jasondavies.com/maps/airocean/
d3/d3-plugins#61

from d3-geo-projection.

jrus avatar jrus commented on May 2, 2024

That one uses a Gnomonic projection, not Fuller’s.

from d3-geo-projection.

Fil avatar Fil commented on May 2, 2024

Are we able to include this for #32? Would make a nice addition

from d3-geo-projection.

mbostock avatar mbostock commented on May 2, 2024

Doubtful. It looks like Jason has taken down the code (which as far as I know was never released under an open-source license).

from d3-geo-projection.

jrus avatar jrus commented on May 2, 2024

Papers:

from d3-geo-projection.

Fil avatar Fil commented on May 2, 2024

https://www.openstreetmap.org/user/smaprs/diary/39829

Dymaxion C/Python script at: http://emergentweirdness.blogspot.fi/2012/03/dymaxion-conversion.html

from d3-geo-projection.

curran avatar curran commented on May 2, 2024

Would be a sweet projection to have available.

@Fil Following links from that emergentwierdness link, I tracked down this quasi-README for the C code that implements the projection by Robert W. Gray.

Some interesting images from there:

These seem to be a map of sorts for navigating his C implementation of the Dymaxion projection.

Maybe this C implementation could be a useful blueprint. Note the license:

/**************************************************************/
/*                                                            */
/* This C program is copyrighted by  Robert W. Gray and may   */
/* not be used in ANY for-profit project without written      */
/* permission.                                                */
/*                                                            */
/**************************************************************/

Also related to OSGeo/PROJ#232 Add Dymaxion/Fuller Projection which, interestingly, links to this JavaScript implementation of the Dymaxion projection that appears to have been added to that repo by @mbostock . Here's a working JavaScript Dymaxion choropleth that uses that implementation with Protovis (source).

image

from d3-geo-projection.

mbostock avatar mbostock commented on May 2, 2024

That was contributed by Vadim Ogievetsky, and I believe it was a direct port from the C code you linked, and therefore is missing appropriate attribution. I will add attribution shortly.

from d3-geo-projection.

mbostock avatar mbostock commented on May 2, 2024

Attribution added in mbostock/protovis@b653a8c.

from d3-geo-projection.

Fil avatar Fil commented on May 2, 2024

Now fully implemented in d3-geo-polygon(newprojections branch), but it needs a new release of d3-geo (d3/d3-geo#128) before it's usable.

from d3-geo-projection.

mbostock avatar mbostock commented on May 2, 2024

Looks great, @Fil! My only suggestion is to rotate it 90° so it’s bigger on tall screens (as Jason did previously).

from d3-geo-projection.

Fil avatar Fil commented on May 2, 2024

from d3-geo-projection.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.