-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from kemo14331/main
1.0.3
- Loading branch information
Showing
13 changed files
with
296 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System.Text; | ||
|
||
namespace ParticleConverter.util | ||
{ | ||
public static class Logger | ||
{ | ||
public static void WriteExceptionLog(Exception e) | ||
{ | ||
DateTime dt = DateTime.Now; | ||
string result = dt.ToString("yyyy-MM-dd_HH.mm.ss"); | ||
StreamWriter streamWriter = null; | ||
try | ||
{ | ||
Directory.CreateDirectory(@".\exceptionLog"); | ||
string path = $@".\exceptionLog\{result}.txt"; | ||
streamWriter = new StreamWriter(path); | ||
streamWriter.WriteLine(e.Data); | ||
streamWriter.WriteLine(e.ToString()); | ||
} | ||
finally | ||
{ | ||
if (streamWriter != null) streamWriter.Close(); | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace ParticleConverter.util | ||
{ | ||
public static class UpdateUtil | ||
{ | ||
static void CheckUpdate(string url) | ||
{ | ||
|
||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Particle Converter | ||
![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/kemo14331/Particle-Converter) [![GitHub license](https://img.shields.io/github/license/kemo14331/Particle-Converter)](https://github.com/kemo14331/Particle-Converter/blob/main/LICENSE) | ||
Particle Converter is an application to convert image files into particle commands. | ||
|
||
## ScreenShot | ||
![screenshot0](https://imgur.com/HvnhBgF.jpg,"screenshot") | ||
<details> | ||
<summary>and more</summary><div> | ||
<img src="https://imgur.com/Ld544Cx.jpg", "screenshot1"> | ||
<img src="https://imgur.com/hdSbSkc.jpg" alt="screenshot2" /> | ||
</div></details> | ||
|
||
## Feature | ||
* Convert the image file (.jpg|.png) into a particle command that can be displayed in Minecraft and output as a mcfunction format | ||
* Correspond to world relative coordinates(~) and local relative coordinates(^). | ||
* Real-time preview of parameter changes. | ||
* Display size can be specified by block. | ||
* Support for changing resolution. | ||
* Supports the color specification of dust. | ||
* Compatible with particles other than dust. | ||
* Multi-language support for the app. | ||
|
||
Translated with www.DeepL.com/Translator (free version) | ||
|
||
## Downloads | ||
[Particle-Converter/Release](https://github.com/kemo14331/Particle-Converter/releases/latest) | ||
|
||
## Requirement | ||
|
||
* .NETCore 3.1 | ||
|
||
## Library | ||
* [Material Design In Xaml](http://materialdesigninxaml.net/) | ||
* [OpenCVSharp4](https://github.com/shimat/opencvsharp) | ||
* [HelixToolkit.SharpDX.Core.Wpf](https://github.com/helix-toolkit/helix-toolkit) | ||
|
||
## Author | ||
|
||
* Kemo431 | ||
* Twitter: [@newkemo431](https://twitter.com/newkemo431) | ||
|
||
## License | ||
This app is under the [MIT license](https://en.wikipedia.org/wiki/MIT_License). |