Skip to content

Commit

Permalink
simplified step generation
Browse files Browse the repository at this point in the history
  • Loading branch information
PiotrJustyna committed Mar 4, 2024
1 parent f5c5715 commit 72b1032
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
7 changes: 1 addition & 6 deletions HelloWorld.hs
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,7 @@ stepName :: Step -> Double
stepName Step { originCoordinates = x, name = y } = y

stepShape :: Double -> Diagram B
stepShape x = fromOffsets
[V2 0 0,
V2 0 0.5,
V2 0.75 0,
V2 0 (-0.5),
V2 (-0.75) 0]
stepShape x = rect 0.75 0.5
# showOrigin
# named x

Expand Down
2 changes: 1 addition & 1 deletion hello-world.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ docker run \
-it \
-v "$(pwd):/root/code/drakon" \
-v "$CERTIFICATE_DIRECTORY:/root/.ssh:ro" \
--rm "drakon-renderer:latest"

"drakon-renderer:latest"

0 comments on commit 72b1032

Please sign in to comment.