Skip to content

Commit

Permalink
refactoring and clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
piebro committed Jan 9, 2025
1 parent af6ca0b commit 60fc880
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 16 deletions.
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
__pycache__
build
dist
factorioBlueprintVisualizer.egg-info
factorio_data
18 changes: 6 additions & 12 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
<meta charset="utf-8">
<meta name="description" content="Online tool to artfully visualize Factorio Blueprints.">
<title>Factorio Blueprint Visualizer</title>
<link rel='shortcut icon' type='image/x-icon' href='favicon.ico'/>
<link rel="stylesheet" href="index.css">
<link rel='shortcut icon' type='image/x-icon' href='website/favicon.ico'/>
<link rel="stylesheet" href="website/index.css">
<script defer data-domain="piebro.github.io/factorio-blueprint-visualizer" src="https://plausible.io/js/plausible.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pako/2.1.0/pako.min.js"></script> <!-- for deflating the blueprint string -->
<script src="startExampleBlueprintString.js"></script>
<script src="entityProperties.js"></script>
<script src="drawingSettings.js"></script>
<script src="blueprintVisualizer.js"></script>
<script src="website/startExampleBlueprintString.js"></script>
<script src="website/entityProperties.js"></script>
<script src="website/drawingSettings.js"></script>
<script src="website/blueprintVisualizer.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.2/codemirror.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.2/theme/monokai.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.2/codemirror.min.js"></script>
Expand All @@ -21,15 +21,9 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.2/addon/lint/lint.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.2/addon/lint/json-lint.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jsonlint/1.6.0/jsonlint.min.js"></script>

</head>

<style>

</style>

<script>

function newBlueprintString(blueprintString){
[currentBlueprintNames, currentBlueprintJsons] = getBlueprintList(blueprintString);
currentBlueprint = processBlueprint(currentBlueprintJsons[0])
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 60fc880

Please sign in to comment.