added readme

This commit is contained in:
Daniel Ledda
2022-05-28 22:16:38 +02:00
parent 2d741b9740
commit e8311175be
3 changed files with 22 additions and 73 deletions

90
.idea/workspace.xml generated
View File

@@ -26,25 +26,8 @@
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="70635ef7-86ab-4681-b98d-dc8e4999995b" name="Default Changelist" comment=""> <list default="true" id="70635ef7-86ab-4681-b98d-dc8e4999995b" name="Default Changelist" comment="">
<change afterPath="$PROJECT_DIR$/public/ColorWheel.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/public/resources/favicon.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ui/ActionButton.svelte" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/stores/PolycubeStore.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/stores/PolycubeStore.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/solve.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/solve.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/store.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/store.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/ui/App.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/ui/App.svelte" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/ui/CubeInputSet.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/ui/CubeInputSet.svelte" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/ui/ExamplesList.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/ui/ExamplesList.svelte" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/ui/InputParameters.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/ui/InputParameters.svelte" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/ui/List.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/ui/List.svelte" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/ui/Sidebar.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/ui/Sidebar.svelte" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/ui/SolutionList.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/ui/SolutionList.svelte" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/ui/SolutionViewer.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/ui/ThreeDee.svelte" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/ui/SolveButton.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/ui/SolveButton.svelte" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/ui/Stage.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/ui/Stage.svelte" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/ui/threedee/PolycubeScene.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/ui/threedee/PolycubeScene.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/ui/threedee/RotationControl.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/ui/threedee/RotationControl.ts" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -91,8 +74,9 @@
<component name="PropertiesComponent"> <component name="PropertiesComponent">
<property name="DefaultHtmlFileTemplate" value="HTML File" /> <property name="DefaultHtmlFileTemplate" value="HTML File" />
<property name="RunOnceActivity.OpenProjectViewOnStart" value="true" /> <property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
<property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
<property name="WebServerToolWindowFactoryState" value="false" /> <property name="WebServerToolWindowFactoryState" value="false" />
<property name="last_opened_file_path" value="$PROJECT_DIR$/public" /> <property name="last_opened_file_path" value="$PROJECT_DIR$/../../uni-sose-21-22/BDMA/tutorials/tutorial01-and-02" />
<property name="node.js.detected.package.eslint" value="true" /> <property name="node.js.detected.package.eslint" value="true" />
<property name="node.js.detected.package.tslint" value="true" /> <property name="node.js.detected.package.tslint" value="true" />
<property name="node.js.path.for.package.eslint" value="project" /> <property name="node.js.path.for.package.eslint" value="project" />
@@ -133,6 +117,9 @@
</recent_temporary> </recent_temporary>
</component> </component>
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" /> <component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
<component name="SvnConfiguration">
<configuration />
</component>
<component name="TaskManager"> <component name="TaskManager">
<task active="true" id="Default" summary="Default task"> <task active="true" id="Default" summary="Default task">
<changelist id="70635ef7-86ab-4681-b98d-dc8e4999995b" name="Default Changelist" comment="" /> <changelist id="70635ef7-86ab-4681-b98d-dc8e4999995b" name="Default Changelist" comment="" />
@@ -169,17 +156,22 @@
<workItem from="1625471453862" duration="708000" /> <workItem from="1625471453862" duration="708000" />
<workItem from="1625489120282" duration="24129000" /> <workItem from="1625489120282" duration="24129000" />
<workItem from="1625561814270" duration="14382000" /> <workItem from="1625561814270" duration="14382000" />
<workItem from="1625991815019" duration="1836000" />
<workItem from="1626166648745" duration="2269000" />
<workItem from="1629629729107" duration="99000" />
<workItem from="1636124860298" duration="307000" />
<workItem from="1636284015038" duration="35000" />
</task> </task>
<servers /> <servers />
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">
<option name="version" value="3" /> <option name="version" value="1" />
<option name="exactExcludedFiles"> <option name="exactExcludedFiles">
<list> <list>
<option value="$PROJECT_DIR$/src/solver/js/SomaSolution.js" />
<option value="$PROJECT_DIR$/src/solver/js/SomaSolver.js" /> <option value="$PROJECT_DIR$/src/solver/js/SomaSolver.js" />
<option value="$PROJECT_DIR$/src/solver/js/main.js" /> <option value="$PROJECT_DIR$/src/solver/js/main.js" />
<option value="$PROJECT_DIR$/src/solver/js/VoxelSpaceBoolean.js" /> <option value="$PROJECT_DIR$/src/solver/js/VoxelSpaceBoolean.js" />
<option value="$PROJECT_DIR$/src/solver/js/SomaSolution.js" />
</list> </list>
</option> </option>
</component> </component>
@@ -210,67 +202,21 @@
</entry> </entry>
</map> </map>
</option> </option>
<option name="COLUMN_ORDER" />
</State> </State>
</value> </value>
</entry> </entry>
</map> </map>
</option> </option>
<option name="oldMeFiltersMigrated" value="true" />
</component> </component>
<component name="WindowStateProjectService"> <component name="WindowStateProjectService">
<state x="633" y="342" width="643" height="403" key="#com.intellij.fileTypes.FileTypeChooser" timestamp="1623671479936"> <state x="743" y="301" width="716" height="623" key="FileChooserDialogImpl" timestamp="1636284048481">
<screen x="0" y="27" width="1920" height="1053" /> <screen x="0" y="27" width="1920" height="1053" />
</state> </state>
<state x="633" y="342" width="643" height="403" key="#com.intellij.fileTypes.FileTypeChooser/1920.0.1920.1080/0.27.1920.1053@0.27.1920.1053" timestamp="1623671479936" /> <state x="743" y="301" width="716" height="623" key="FileChooserDialogImpl/1920.0.1920.1080/0.27.1920.1053@0.27.1920.1053" timestamp="1636284048481" />
<state x="692" y="20" width="1213" height="1060" key="#com.intellij.refactoring.rename.AutomaticRenamingDialog" timestamp="1625307697424"> <state x="616" y="367" key="com.intellij.ide.util.TipDialog" timestamp="1636284015292">
<screen x="0" y="27" width="3840" height="1053" />
</state>
<state x="692" y="20" width="1213" height="1060" key="#com.intellij.refactoring.rename.AutomaticRenamingDialog/0.27.3840.1053@0.27.3840.1053" timestamp="1625307697424" />
<state x="643" y="194" width="614" height="706" key="#com.intellij.refactoring.rename.AutomaticRenamingDialog/1920.0.1920.1080/0.27.1920.1053@0.27.1920.1053" timestamp="1621349929863" />
<state x="696" y="393" width="518" height="301" key="ANALYSIS_DLG_com.intellij.analysis.BaseAnalysisAction$1" timestamp="1624963157966">
<screen x="0" y="27" width="1920" height="1053" /> <screen x="0" y="27" width="1920" height="1053" />
</state> </state>
<state x="696" y="393" width="518" height="301" key="ANALYSIS_DLG_com.intellij.analysis.BaseAnalysisAction$1/1920.0.1920.1080/0.27.1920.1053@0.27.1920.1053" timestamp="1624963157966" /> <state x="616" y="367" key="com.intellij.ide.util.TipDialog/1920.0.1920.1080/0.27.1920.1053@0.27.1920.1053" timestamp="1636284015292" />
<state x="92" y="69" width="1720" height="880" key="DiffContextDialog" timestamp="1625575561214">
<screen x="0" y="27" width="1920" height="1053" />
</state>
<state x="92" y="69" width="1720" height="880" key="DiffContextDialog/1920.0.1920.1080/0.27.1920.1053@0.27.1920.1053" timestamp="1625575561214" />
<state x="2012" y="43" width="1720" height="903" key="DiffContextDialog/1920.0.1920.1080/0.27.1920.1053@1920.0.1920.1080" timestamp="1625505778555" />
<state x="743" y="301" width="716" height="623" key="FileChooserDialogImpl" timestamp="1621932819206">
<screen x="0" y="27" width="1920" height="1053" />
</state>
<state x="743" y="301" width="716" height="623" key="FileChooserDialogImpl/1920.0.1920.1080/0.27.1920.1053@0.27.1920.1053" timestamp="1621932819206" />
<state x="449" y="175" width="1022" height="737" key="SettingsEditor" timestamp="1623054791330">
<screen x="0" y="27" width="1920" height="1053" />
</state>
<state x="449" y="175" width="1022" height="737" key="SettingsEditor/1920.0.1920.1080/0.27.1920.1053@0.27.1920.1053" timestamp="1623054791330" />
<state x="741" y="455" width="438" height="177" key="com.intellij.openapi.vcs.update.UpdateOrStatusOptionsDialogupdate-v2" timestamp="1621773490794">
<screen x="0" y="27" width="1920" height="1053" />
</state>
<state x="741" y="455" width="438" height="177" key="com.intellij.openapi.vcs.update.UpdateOrStatusOptionsDialogupdate-v2/1920.0.1920.1080/0.27.1920.1053@0.27.1920.1053" timestamp="1621773490794" />
<state x="2571" y="258" width="618" height="536" key="find.popup" timestamp="1625509865195">
<screen x="1920" y="0" width="1920" height="1080" />
</state>
<state x="651" y="279" width="618" height="522" key="find.popup/1920.0.1920.1080/0.27.1920.1053@0.27.1920.1053" timestamp="1623164695220" />
<state x="2571" y="258" width="618" height="536" key="find.popup/1920.0.1920.1080/0.27.1920.1053@1920.0.1920.1080" timestamp="1625509865195" />
<state x="834" y="395" width="250" height="278" key="jetbrains.javascript.buildTools.run-task-popup" timestamp="1623671403065">
<screen x="0" y="27" width="1920" height="1053" />
</state>
<state x="834" y="395" width="250" height="278" key="jetbrains.javascript.buildTools.run-task-popup/1920.0.1920.1080/0.27.1920.1053@0.27.1920.1053" timestamp="1623671403065" />
<state x="2544" y="224" key="run.anything.popup" timestamp="1625515025685">
<screen x="1920" y="0" width="1920" height="1080" />
</state>
<state x="1248" y="245" key="run.anything.popup/0.27.3840.1053@0.27.3840.1053" timestamp="1625305747628" />
<state x="624" y="245" key="run.anything.popup/1920.0.1920.1080/0.27.1920.1053@0.27.1920.1053" timestamp="1625390874883" />
<state x="2544" y="224" key="run.anything.popup/1920.0.1920.1080/0.27.1920.1053@1920.0.1920.1080" timestamp="1625515025685" />
<state x="755" y="405" width="400" height="284" key="scopes" timestamp="1621932851405">
<screen x="0" y="27" width="1920" height="1053" />
</state>
<state x="755" y="405" width="400" height="284" key="scopes/1920.0.1920.1080/0.27.1920.1053@0.27.1920.1053" timestamp="1621932851405" />
<state x="2543" y="217" width="672" height="696" key="search.everywhere.popup" timestamp="1625502533882">
<screen x="1920" y="0" width="1920" height="1080" />
</state>
<state x="623" y="239" width="672" height="678" key="search.everywhere.popup/1920.0.1920.1080/0.27.1920.1053@0.27.1920.1053" timestamp="1623095042292" />
<state x="2543" y="217" width="672" height="696" key="search.everywhere.popup/1920.0.1920.1080/0.27.1920.1053@1920.0.1920.1080" timestamp="1625502533882" />
</component> </component>
</project> </project>

4
README.md Normal file
View File

@@ -0,0 +1,4 @@
# Somaesque
A visual editor and solver for soma cube style puzzles.
Try it out: https://djledda.de/somaesque

View File

@@ -19,7 +19,6 @@ export default class PolycubeStore {
this.dimX.subscribe(() => this.reset()); this.dimX.subscribe(() => this.reset());
this.dimY.subscribe(() => this.reset()); this.dimY.subscribe(() => this.reset());
this.dimZ.subscribe(() => this.reset()); this.dimZ.subscribe(() => this.reset());
} }
private freshCube(id: number) { private freshCube(id: number) {