Skip to main content
Das Boomer
Known Participant
October 22, 2020
Answered

Difficulty level: Nightmare! => How to draw an E8 Lattice?

  • October 22, 2020
  • 4 replies
  • 1401 views

Imagine, if you will, that you wish to print (but first, draw) an E8 lattice in honour of theoretical physicist Antony Garrett Lisi.

 

Here's what it looks like, modest and unassuming that it is...

 

This topic has been closed for replies.
Correct answer pixxxelschubser

There was a script, written by John Wundes.

see:

http://js4ai.blogspot.com/2009/05/spoze-you-have-shape-like-this-and-you.html 

4 replies

femkeblanco
Legend
October 23, 2020

I'm late, but here is my easy-to-make version.

var d = app.activeDocument.artboards[0].artboardRect;
var paths = app.activeDocument.pathItems;
var circle1 = paths.ellipse(d[3]/2+250, d[2]/2-250, 500, 500);
var polygon1 = paths.polygon(d[2]/2, d[3]/2, 250, 12);
polygon1.rotate(15);
var points1 = polygon1.pathPoints;
var group1 = app.activeDocument.groupItems.add();
for (var i = 0; i < points1.length; i++) {
  for (var j = 0; j < points1.length; j++) {
    var line1 = paths.add();
    var points2 = [points1[i].anchor, points1[j].anchor];
    line1.setEntirePath(points2);
    line1.moveToEnd(group1);
  }
}
var group2 = group1.duplicate();
group2.resize(70.7, 70.7);
group2.rotate(15);
var group3 = group2.duplicate();
group3.resize(73.2, 73.2);
var group4 = group3.duplicate();
group4.resize(70.7, 70.7);
group4.rotate(15);

 

Das Boomer
Known Participant
October 22, 2020

You guys are awesome! Thank you. Hey if you need help with digital printing let me know 🙂

m1b
Community Expert
Community Expert
October 22, 2020

Unless you wanted the fun of drawing it yourself... 🙂  you can download this svg file.

I had a quick look and it seems to be well structured for ease of coloring etc.

pixxxelschubser
Community Expert
pixxxelschubserCommunity ExpertCorrect answer
Community Expert
October 22, 2020