Skip to content

Commit

Permalink
Merge pull request #5 from janbridley/janbridley-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
janbridley authored Oct 15, 2024
2 parents 33bed6c + edc2104 commit 303323a
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ from coxeter.families import ArchimedeanFamily
import svg3d


style = dict(
fill="#00B2A6",
fill_opacity="0.85",
stroke="black",
stroke_linejoin="round",
stroke_width="0.005",
)
style = {
"fill": "#00B2A6",
"fill_opacity": "0.85",
"stroke": "black",
"stroke_linejoin": "round",
"stroke_width": "0.005",
}

scene = [
svg3d.Mesh.from_coxeter(
Expand Down Expand Up @@ -80,14 +80,14 @@ import svg3d

# Define the vertices and faces of a cube
vertices = np.array(
[[-1, -1, -1],
[-1, -1, 1],
[-1, 1, -1],
[-1, 1, 1],
[ 1, -1, -1],
[ 1, -1, 1],
[ 1, 1, -1],
[ 1, 1, 1]]
[[-1., -1., -1.],
[-1., -1., 1.],
[-1., 1., -1.],
[-1., 1., 1.],
[ 1., -1., -1.],
[ 1., -1., 1.],
[ 1., 1., -1.],
[ 1., 1., 1.]]
)

faces = [
Expand Down

0 comments on commit 303323a

Please sign in to comment.