diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b1dff0d --- /dev/null +++ b/.gitignore @@ -0,0 +1,45 @@ +.gradle +build/ +!gradle/wrapper/gradle-wrapper.jar +!**/src/main/**/build/ +!**/src/test/**/build/ + +### IntelliJ IDEA ### +.idea/modules.xml +.idea/jarRepositories.xml +.idea/compiler.xml +.idea/libraries/ +*.iws +*.iml +*.ipr +out/ +!**/src/main/**/out/ +!**/src/test/**/out/ + +### Kotlin ### +.kotlin + +### Eclipse ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache +bin/ +!**/src/main/**/bin/ +!**/src/test/**/bin/ + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ + +### VS Code ### +.vscode/ + +### Mac OS ### +.DS_Store \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/gradle.xml b/.idea/gradle.xml new file mode 100644 index 0000000..5b33a6a --- /dev/null +++ b/.idea/gradle.xml @@ -0,0 +1,18 @@ + + + + + + + \ No newline at end of file diff --git a/.idea/kotlinc.xml b/.idea/kotlinc.xml new file mode 100644 index 0000000..254a1fc --- /dev/null +++ b/.idea/kotlinc.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/libraries/Gradle__org_apiguardian_apiguardian_api_1_1_2.xml b/.idea/libraries/Gradle__org_apiguardian_apiguardian_api_1_1_2.xml deleted file mode 100644 index 31fbc18..0000000 --- a/.idea/libraries/Gradle__org_apiguardian_apiguardian_api_1_1_2.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Gradle__org_jetbrains_annotations_13_0.xml b/.idea/libraries/Gradle__org_jetbrains_annotations_13_0.xml deleted file mode 100644 index 800e9c0..0000000 --- a/.idea/libraries/Gradle__org_jetbrains_annotations_13_0.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Gradle__org_jetbrains_annotations_23_0_0.xml b/.idea/libraries/Gradle__org_jetbrains_annotations_23_0_0.xml deleted file mode 100644 index c2ae15f..0000000 --- a/.idea/libraries/Gradle__org_jetbrains_annotations_23_0_0.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_stdlib_2_2_10.xml b/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_stdlib_2_2_10.xml deleted file mode 100644 index df2cdcc..0000000 --- a/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_stdlib_2_2_10.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_test_2_2_10.xml b/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_test_2_2_10.xml deleted file mode 100644 index 6239f52..0000000 --- a/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_test_2_2_10.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_test_junit5_2_2_10.xml b/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_test_junit5_2_2_10.xml deleted file mode 100644 index 80f308c..0000000 --- a/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_test_junit5_2_2_10.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Gradle__org_jetbrains_kotlinx_kotlinx_coroutines_core_jvm_1_8_0.xml b/.idea/libraries/Gradle__org_jetbrains_kotlinx_kotlinx_coroutines_core_jvm_1_8_0.xml deleted file mode 100644 index 0886d85..0000000 --- a/.idea/libraries/Gradle__org_jetbrains_kotlinx_kotlinx_coroutines_core_jvm_1_8_0.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Gradle__org_jetbrains_skiko_skiko_awt_0_9_4_2.xml b/.idea/libraries/Gradle__org_jetbrains_skiko_skiko_awt_0_9_4_2.xml deleted file mode 100644 index 5c852d4..0000000 --- a/.idea/libraries/Gradle__org_jetbrains_skiko_skiko_awt_0_9_4_2.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Gradle__org_jetbrains_skiko_skiko_awt_runtime_linux_x64_0_9_4_2.xml b/.idea/libraries/Gradle__org_jetbrains_skiko_skiko_awt_runtime_linux_x64_0_9_4_2.xml deleted file mode 100644 index 44acb49..0000000 --- a/.idea/libraries/Gradle__org_jetbrains_skiko_skiko_awt_runtime_linux_x64_0_9_4_2.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Gradle__org_junit_jupiter_junit_jupiter_api_5_10_1.xml b/.idea/libraries/Gradle__org_junit_jupiter_junit_jupiter_api_5_10_1.xml deleted file mode 100644 index 88cee8c..0000000 --- a/.idea/libraries/Gradle__org_junit_jupiter_junit_jupiter_api_5_10_1.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Gradle__org_junit_jupiter_junit_jupiter_engine_5_10_1.xml b/.idea/libraries/Gradle__org_junit_jupiter_junit_jupiter_engine_5_10_1.xml deleted file mode 100644 index de423e3..0000000 --- a/.idea/libraries/Gradle__org_junit_jupiter_junit_jupiter_engine_5_10_1.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Gradle__org_junit_platform_junit_platform_commons_1_10_1.xml b/.idea/libraries/Gradle__org_junit_platform_junit_platform_commons_1_10_1.xml deleted file mode 100644 index 96889fd..0000000 --- a/.idea/libraries/Gradle__org_junit_platform_junit_platform_commons_1_10_1.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Gradle__org_junit_platform_junit_platform_engine_1_10_1.xml b/.idea/libraries/Gradle__org_junit_platform_junit_platform_engine_1_10_1.xml deleted file mode 100644 index 3b6c9fc..0000000 --- a/.idea/libraries/Gradle__org_junit_platform_junit_platform_engine_1_10_1.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Gradle__org_junit_platform_junit_platform_launcher_1_10_1.xml b/.idea/libraries/Gradle__org_junit_platform_junit_platform_launcher_1_10_1.xml deleted file mode 100644 index df842bc..0000000 --- a/.idea/libraries/Gradle__org_junit_platform_junit_platform_launcher_1_10_1.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Gradle__org_opentest4j_opentest4j_1_3_0.xml b/.idea/libraries/Gradle__org_opentest4j_opentest4j_1_3_0.xml deleted file mode 100644 index 2d52e39..0000000 --- a/.idea/libraries/Gradle__org_opentest4j_opentest4j_1_3_0.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index 639900d..cf4ac17 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,6 +1,9 @@ - - - - + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index 039b045..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/.idea/modules/skacite.main.iml b/.idea/modules/skacite.main.iml deleted file mode 100644 index 23f962a..0000000 --- a/.idea/modules/skacite.main.iml +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - $USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-scripting-jvm/2.2.10/beecd90e2b145845581e953ba8420f1b30cac848/kotlin-scripting-jvm-2.2.10.jar - $USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-scripting-common/2.2.10/87769c03c5456d7c827fc950063664907b192c1c/kotlin-scripting-common-2.2.10.jar - $USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/2.2.10/30de6faa127a4a012db8e71bf1b9c0a99b1402b2/kotlin-stdlib-2.2.10.jar - $USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-script-runtime/2.2.10/712f9bc08f378c13a4a00f0bbb28c76e59183e83/kotlin-script-runtime-2.2.10.jar - $USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations/13.0/919f0dfe192fb4e063e7dacadee7f8bb9a2672a9/annotations-13.0.jar - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/modules/skacite.test.iml b/.idea/modules/skacite.test.iml deleted file mode 100644 index b6bd6ea..0000000 --- a/.idea/modules/skacite.test.iml +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - skacite:main - - - - - - - - - - - - - - - - - - $USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-scripting-jvm/2.2.10/beecd90e2b145845581e953ba8420f1b30cac848/kotlin-scripting-jvm-2.2.10.jar - $USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-scripting-common/2.2.10/87769c03c5456d7c827fc950063664907b192c1c/kotlin-scripting-common-2.2.10.jar - $USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/2.2.10/30de6faa127a4a012db8e71bf1b9c0a99b1402b2/kotlin-stdlib-2.2.10.jar - $USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-script-runtime/2.2.10/712f9bc08f378c13a4a00f0bbb28c76e59183e83/kotlin-script-runtime-2.2.10.jar - $USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations/13.0/919f0dfe192fb4e063e7dacadee7f8bb9a2672a9/annotations-13.0.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/README.md b/README.md index 31ba4c3..f9830a9 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ # AArch-Plymouth -Plymouth module for AArch \ No newline at end of file +Plymouth module for AArch + +![logo.png](res/logo.png) \ No newline at end of file diff --git a/build.gradle.kts b/build.gradle.kts new file mode 100644 index 0000000..bf995f3 --- /dev/null +++ b/build.gradle.kts @@ -0,0 +1,20 @@ +plugins { + kotlin("jvm") version "2.2.10" +} + +group = "com.acitelight" +version = "1.0-SNAPSHOT" + +repositories { + mavenCentral() + maven("https://maven.pkg.jetbrains.space/public/p/compose/dev") +} + +dependencies { + testImplementation(kotlin("test")) + implementation("org.jetbrains.skiko:skiko-awt-runtime-linux-x64:0.9.4.2") +} + +tasks.test { + useJUnitPlatform() +} \ No newline at end of file diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 0000000..7fc6f1f --- /dev/null +++ b/gradle.properties @@ -0,0 +1 @@ +kotlin.code.style=official diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 0000000..249e583 Binary files /dev/null and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 0000000..52dc779 --- /dev/null +++ b/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,6 @@ +#Fri Oct 17 00:59:53 CST 2025 +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-bin.zip +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists diff --git a/gradlew b/gradlew new file mode 100755 index 0000000..1b6c787 --- /dev/null +++ b/gradlew @@ -0,0 +1,234 @@ +#!/bin/sh + +# +# Copyright © 2015-2021 the original authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +############################################################################## +# +# Gradle start up script for POSIX generated by Gradle. +# +# Important for running: +# +# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is +# noncompliant, but you have some other compliant shell such as ksh or +# bash, then to run this script, type that shell name before the whole +# command line, like: +# +# ksh Gradle +# +# Busybox and similar reduced shells will NOT work, because this script +# requires all of these POSIX shell features: +# * functions; +# * expansions «$var», «${var}», «${var:-default}», «${var+SET}», +# «${var#prefix}», «${var%suffix}», and «$( cmd )»; +# * compound commands having a testable exit status, especially «case»; +# * various built-in commands including «command», «set», and «ulimit». +# +# Important for patching: +# +# (2) This script targets any POSIX shell, so it avoids extensions provided +# by Bash, Ksh, etc; in particular arrays are avoided. +# +# The "traditional" practice of packing multiple parameters into a +# space-separated string is a well documented source of bugs and security +# problems, so this is (mostly) avoided, by progressively accumulating +# options in "$@", and eventually passing that to Java. +# +# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS, +# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly; +# see the in-line comments for details. +# +# There are tweaks for specific operating systems such as AIX, CygWin, +# Darwin, MinGW, and NonStop. +# +# (3) This script is generated from the Groovy template +# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# within the Gradle project. +# +# You can find Gradle at https://github.com/gradle/gradle/. +# +############################################################################## + +# Attempt to set APP_HOME + +# Resolve links: $0 may be a link +app_path=$0 + +# Need this for daisy-chained symlinks. +while + APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path + [ -h "$app_path" ] +do + ls=$( ls -ld "$app_path" ) + link=${ls#*' -> '} + case $link in #( + /*) app_path=$link ;; #( + *) app_path=$APP_HOME$link ;; + esac +done + +APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit + +APP_NAME="Gradle" +APP_BASE_NAME=${0##*/} + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' + +# Use the maximum available, or set MAX_FD != -1 to use that value. +MAX_FD=maximum + +warn () { + echo "$*" +} >&2 + +die () { + echo + echo "$*" + echo + exit 1 +} >&2 + +# OS specific support (must be 'true' or 'false'). +cygwin=false +msys=false +darwin=false +nonstop=false +case "$( uname )" in #( + CYGWIN* ) cygwin=true ;; #( + Darwin* ) darwin=true ;; #( + MSYS* | MINGW* ) msys=true ;; #( + NONSTOP* ) nonstop=true ;; +esac + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD=$JAVA_HOME/jre/sh/java + else + JAVACMD=$JAVA_HOME/bin/java + fi + if [ ! -x "$JAVACMD" ] ; then + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +else + JAVACMD=java + which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." +fi + +# Increase the maximum file descriptors if we can. +if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then + case $MAX_FD in #( + max*) + MAX_FD=$( ulimit -H -n ) || + warn "Could not query maximum file descriptor limit" + esac + case $MAX_FD in #( + '' | soft) :;; #( + *) + ulimit -n "$MAX_FD" || + warn "Could not set maximum file descriptor limit to $MAX_FD" + esac +fi + +# Collect all arguments for the java command, stacking in reverse order: +# * args from the command line +# * the main class name +# * -classpath +# * -D...appname settings +# * --module-path (only if needed) +# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables. + +# For Cygwin or MSYS, switch paths to Windows format before running java +if "$cygwin" || "$msys" ; then + APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) + CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) + + JAVACMD=$( cygpath --unix "$JAVACMD" ) + + # Now convert the arguments - kludge to limit ourselves to /bin/sh + for arg do + if + case $arg in #( + -*) false ;; # don't mess with options #( + /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath + [ -e "$t" ] ;; #( + *) false ;; + esac + then + arg=$( cygpath --path --ignore --mixed "$arg" ) + fi + # Roll the args list around exactly as many times as the number of + # args, so each arg winds up back in the position where it started, but + # possibly modified. + # + # NB: a `for` loop captures its iteration list before it begins, so + # changing the positional parameters here affects neither the number of + # iterations, nor the values presented in `arg`. + shift # remove old arg + set -- "$@" "$arg" # push replacement arg + done +fi + +# Collect all arguments for the java command; +# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of +# shell script including quotes and variable substitutions, so put them in +# double quotes to make sure that they get re-expanded; and +# * put everything else in single quotes, so that it's not re-expanded. + +set -- \ + "-Dorg.gradle.appname=$APP_BASE_NAME" \ + -classpath "$CLASSPATH" \ + org.gradle.wrapper.GradleWrapperMain \ + "$@" + +# Use "xargs" to parse quoted args. +# +# With -n1 it outputs one arg per line, with the quotes and backslashes removed. +# +# In Bash we could simply go: +# +# readarray ARGS < <( xargs -n1 <<<"$var" ) && +# set -- "${ARGS[@]}" "$@" +# +# but POSIX shell has neither arrays nor command substitution, so instead we +# post-process each arg (as a line of input to sed) to backslash-escape any +# character that might be a shell metacharacter, then use eval to reverse +# that process (while maintaining the separation between arguments), and wrap +# the whole thing up as a single "set" statement. +# +# This will of course break if any of these variables contains a newline or +# an unmatched quote. +# + +eval "set -- $( + printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | + xargs -n1 | + sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | + tr '\n' ' ' + )" '"$@"' + +exec "$JAVACMD" "$@" diff --git a/gradlew.bat b/gradlew.bat new file mode 100644 index 0000000..ac1b06f --- /dev/null +++ b/gradlew.bat @@ -0,0 +1,89 @@ +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem + +@if "%DEBUG%" == "" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%" == "" set DIRNAME=. +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Resolve any "." and ".." in APP_HOME to make it shorter. +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if "%ERRORLEVEL%" == "0" goto execute + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto execute + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* + +:end +@rem End local scope for the variables with windows NT shell +if "%ERRORLEVEL%"=="0" goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/pics/animation-00.png b/pics/animation-00.png new file mode 100644 index 0000000..d5222c7 Binary files /dev/null and b/pics/animation-00.png differ diff --git a/pics/animation-01.png b/pics/animation-01.png new file mode 100644 index 0000000..1de554c Binary files /dev/null and b/pics/animation-01.png differ diff --git a/pics/animation-02.png b/pics/animation-02.png new file mode 100644 index 0000000..538c073 Binary files /dev/null and b/pics/animation-02.png differ diff --git a/pics/animation-03.png b/pics/animation-03.png new file mode 100644 index 0000000..4403215 Binary files /dev/null and b/pics/animation-03.png differ diff --git a/pics/animation-04.png b/pics/animation-04.png new file mode 100644 index 0000000..c0079fd Binary files /dev/null and b/pics/animation-04.png differ diff --git a/pics/animation-05.png b/pics/animation-05.png new file mode 100644 index 0000000..1d477c4 Binary files /dev/null and b/pics/animation-05.png differ diff --git a/pics/animation-06.png b/pics/animation-06.png new file mode 100644 index 0000000..b2b1920 Binary files /dev/null and b/pics/animation-06.png differ diff --git a/pics/animation-07.png b/pics/animation-07.png new file mode 100644 index 0000000..48da79a Binary files /dev/null and b/pics/animation-07.png differ diff --git a/pics/animation-08.png b/pics/animation-08.png new file mode 100644 index 0000000..839aca7 Binary files /dev/null and b/pics/animation-08.png differ diff --git a/pics/animation-09.png b/pics/animation-09.png new file mode 100644 index 0000000..f3d491c Binary files /dev/null and b/pics/animation-09.png differ diff --git a/pics/animation-10.png b/pics/animation-10.png new file mode 100644 index 0000000..f3e4f7d Binary files /dev/null and b/pics/animation-10.png differ diff --git a/pics/animation-11.png b/pics/animation-11.png new file mode 100644 index 0000000..2744222 Binary files /dev/null and b/pics/animation-11.png differ diff --git a/pics/animation-12.png b/pics/animation-12.png new file mode 100644 index 0000000..a4c82d5 Binary files /dev/null and b/pics/animation-12.png differ diff --git a/pics/animation-13.png b/pics/animation-13.png new file mode 100644 index 0000000..4b475b1 Binary files /dev/null and b/pics/animation-13.png differ diff --git a/pics/animation-14.png b/pics/animation-14.png new file mode 100644 index 0000000..9342c7a Binary files /dev/null and b/pics/animation-14.png differ diff --git a/pics/animation-15.png b/pics/animation-15.png new file mode 100644 index 0000000..be5b7ca Binary files /dev/null and b/pics/animation-15.png differ diff --git a/pics/animation-16.png b/pics/animation-16.png new file mode 100644 index 0000000..19733be Binary files /dev/null and b/pics/animation-16.png differ diff --git a/pics/animation-17.png b/pics/animation-17.png new file mode 100644 index 0000000..3225b50 Binary files /dev/null and b/pics/animation-17.png differ diff --git a/pics/animation-18.png b/pics/animation-18.png new file mode 100644 index 0000000..512730e Binary files /dev/null and b/pics/animation-18.png differ diff --git a/pics/animation-19.png b/pics/animation-19.png new file mode 100644 index 0000000..9965145 Binary files /dev/null and b/pics/animation-19.png differ diff --git a/pics/animation-20.png b/pics/animation-20.png new file mode 100644 index 0000000..6e87636 Binary files /dev/null and b/pics/animation-20.png differ diff --git a/pics/animation-21.png b/pics/animation-21.png new file mode 100644 index 0000000..04bfbf3 Binary files /dev/null and b/pics/animation-21.png differ diff --git a/pics/animation-22.png b/pics/animation-22.png new file mode 100644 index 0000000..01cc24b Binary files /dev/null and b/pics/animation-22.png differ diff --git a/pics/animation-23.png b/pics/animation-23.png new file mode 100644 index 0000000..8d35fe4 Binary files /dev/null and b/pics/animation-23.png differ diff --git a/pics/animation-24.png b/pics/animation-24.png new file mode 100644 index 0000000..93894c8 Binary files /dev/null and b/pics/animation-24.png differ diff --git a/pics/animation-25.png b/pics/animation-25.png new file mode 100644 index 0000000..4d21e3c Binary files /dev/null and b/pics/animation-25.png differ diff --git a/pics/animation-26.png b/pics/animation-26.png new file mode 100644 index 0000000..1ac8cb7 Binary files /dev/null and b/pics/animation-26.png differ diff --git a/pics/animation-27.png b/pics/animation-27.png new file mode 100644 index 0000000..d5892b7 Binary files /dev/null and b/pics/animation-27.png differ diff --git a/pics/animation-28.png b/pics/animation-28.png new file mode 100644 index 0000000..4cfe801 Binary files /dev/null and b/pics/animation-28.png differ diff --git a/pics/animation-29.png b/pics/animation-29.png new file mode 100644 index 0000000..7e10a5d Binary files /dev/null and b/pics/animation-29.png differ diff --git a/pics/animation-30.png b/pics/animation-30.png new file mode 100644 index 0000000..9956b88 Binary files /dev/null and b/pics/animation-30.png differ diff --git a/pics/animation-31.png b/pics/animation-31.png new file mode 100644 index 0000000..96c9d51 Binary files /dev/null and b/pics/animation-31.png differ diff --git a/pics/animation-32.png b/pics/animation-32.png new file mode 100644 index 0000000..ff7345d Binary files /dev/null and b/pics/animation-32.png differ diff --git a/pics/animation-33.png b/pics/animation-33.png new file mode 100644 index 0000000..5f2c2b5 Binary files /dev/null and b/pics/animation-33.png differ diff --git a/pics/animation-34.png b/pics/animation-34.png new file mode 100644 index 0000000..e19c319 Binary files /dev/null and b/pics/animation-34.png differ diff --git a/pics/animation-35.png b/pics/animation-35.png new file mode 100644 index 0000000..edf006a Binary files /dev/null and b/pics/animation-35.png differ diff --git a/pics/animation-36.png b/pics/animation-36.png new file mode 100644 index 0000000..bfbabf7 Binary files /dev/null and b/pics/animation-36.png differ diff --git a/pics/animation-37.png b/pics/animation-37.png new file mode 100644 index 0000000..4285118 Binary files /dev/null and b/pics/animation-37.png differ diff --git a/pics/animation-38.png b/pics/animation-38.png new file mode 100644 index 0000000..7573ef0 Binary files /dev/null and b/pics/animation-38.png differ diff --git a/pics/animation-39.png b/pics/animation-39.png new file mode 100644 index 0000000..b5b3c05 Binary files /dev/null and b/pics/animation-39.png differ diff --git a/pics/animation-40.png b/pics/animation-40.png new file mode 100644 index 0000000..65e46e4 Binary files /dev/null and b/pics/animation-40.png differ diff --git a/pics/animation-41.png b/pics/animation-41.png new file mode 100644 index 0000000..6af5513 Binary files /dev/null and b/pics/animation-41.png differ diff --git a/pics/animation-42.png b/pics/animation-42.png new file mode 100644 index 0000000..91d7c19 Binary files /dev/null and b/pics/animation-42.png differ diff --git a/pics/animation-43.png b/pics/animation-43.png new file mode 100644 index 0000000..1ee1577 Binary files /dev/null and b/pics/animation-43.png differ diff --git a/pics/animation-44.png b/pics/animation-44.png new file mode 100644 index 0000000..87fe499 Binary files /dev/null and b/pics/animation-44.png differ diff --git a/pics/animation-45.png b/pics/animation-45.png new file mode 100644 index 0000000..b319470 Binary files /dev/null and b/pics/animation-45.png differ diff --git a/pics/animation-46.png b/pics/animation-46.png new file mode 100644 index 0000000..0ae9c2d Binary files /dev/null and b/pics/animation-46.png differ diff --git a/pics/animation-47.png b/pics/animation-47.png new file mode 100644 index 0000000..a025fa9 Binary files /dev/null and b/pics/animation-47.png differ diff --git a/pics/animation-48.png b/pics/animation-48.png new file mode 100644 index 0000000..b794d60 Binary files /dev/null and b/pics/animation-48.png differ diff --git a/pics/animation-49.png b/pics/animation-49.png new file mode 100644 index 0000000..f740552 Binary files /dev/null and b/pics/animation-49.png differ diff --git a/pics/animation-50.png b/pics/animation-50.png new file mode 100644 index 0000000..391d213 Binary files /dev/null and b/pics/animation-50.png differ diff --git a/pics/animation-51.png b/pics/animation-51.png new file mode 100644 index 0000000..497fffc Binary files /dev/null and b/pics/animation-51.png differ diff --git a/pics/animation-52.png b/pics/animation-52.png new file mode 100644 index 0000000..5cb34f8 Binary files /dev/null and b/pics/animation-52.png differ diff --git a/pics/animation-53.png b/pics/animation-53.png new file mode 100644 index 0000000..0bd690d Binary files /dev/null and b/pics/animation-53.png differ diff --git a/pics/animation-54.png b/pics/animation-54.png new file mode 100644 index 0000000..8b3c7ce Binary files /dev/null and b/pics/animation-54.png differ diff --git a/pics/animation-55.png b/pics/animation-55.png new file mode 100644 index 0000000..3939ff5 Binary files /dev/null and b/pics/animation-55.png differ diff --git a/pics/animation-56.png b/pics/animation-56.png new file mode 100644 index 0000000..c5b1cc2 Binary files /dev/null and b/pics/animation-56.png differ diff --git a/pics/animation-57.png b/pics/animation-57.png new file mode 100644 index 0000000..8243f1f Binary files /dev/null and b/pics/animation-57.png differ diff --git a/pics/animation-58.png b/pics/animation-58.png new file mode 100644 index 0000000..81d66aa Binary files /dev/null and b/pics/animation-58.png differ diff --git a/pics/animation-59.png b/pics/animation-59.png new file mode 100644 index 0000000..9f85eaf Binary files /dev/null and b/pics/animation-59.png differ diff --git a/pics/animation-60.png b/pics/animation-60.png new file mode 100644 index 0000000..47fa84e Binary files /dev/null and b/pics/animation-60.png differ diff --git a/pics/animation-61.png b/pics/animation-61.png new file mode 100644 index 0000000..35d13bd Binary files /dev/null and b/pics/animation-61.png differ diff --git a/pics/animation-62.png b/pics/animation-62.png new file mode 100644 index 0000000..20ee6d1 Binary files /dev/null and b/pics/animation-62.png differ diff --git a/pics/animation-63.png b/pics/animation-63.png new file mode 100644 index 0000000..56f10aa Binary files /dev/null and b/pics/animation-63.png differ diff --git a/pics/animation-64.png b/pics/animation-64.png new file mode 100644 index 0000000..e8c18c7 Binary files /dev/null and b/pics/animation-64.png differ diff --git a/pics/animation-65.png b/pics/animation-65.png new file mode 100644 index 0000000..5e080ab Binary files /dev/null and b/pics/animation-65.png differ diff --git a/pics/animation-66.png b/pics/animation-66.png new file mode 100644 index 0000000..ef4f54c Binary files /dev/null and b/pics/animation-66.png differ diff --git a/pics/animation-67.png b/pics/animation-67.png new file mode 100644 index 0000000..711b6de Binary files /dev/null and b/pics/animation-67.png differ diff --git a/pics/animation-68.png b/pics/animation-68.png new file mode 100644 index 0000000..a185b80 Binary files /dev/null and b/pics/animation-68.png differ diff --git a/pics/animation-69.png b/pics/animation-69.png new file mode 100644 index 0000000..87c5307 Binary files /dev/null and b/pics/animation-69.png differ diff --git a/pics/animation-70.png b/pics/animation-70.png new file mode 100644 index 0000000..df4bf49 Binary files /dev/null and b/pics/animation-70.png differ diff --git a/pics/animation-71.png b/pics/animation-71.png new file mode 100644 index 0000000..5b77977 Binary files /dev/null and b/pics/animation-71.png differ diff --git a/pics/animation-72.png b/pics/animation-72.png new file mode 100644 index 0000000..a869dd4 Binary files /dev/null and b/pics/animation-72.png differ diff --git a/pics/animation-73.png b/pics/animation-73.png new file mode 100644 index 0000000..c5377a8 Binary files /dev/null and b/pics/animation-73.png differ diff --git a/pics/animation-74.png b/pics/animation-74.png new file mode 100644 index 0000000..cc51f3d Binary files /dev/null and b/pics/animation-74.png differ diff --git a/pics/animation-75.png b/pics/animation-75.png new file mode 100644 index 0000000..f7ff654 Binary files /dev/null and b/pics/animation-75.png differ diff --git a/pics/animation-76.png b/pics/animation-76.png new file mode 100644 index 0000000..a1f3f94 Binary files /dev/null and b/pics/animation-76.png differ diff --git a/pics/animation-77.png b/pics/animation-77.png new file mode 100644 index 0000000..3c4f4ae Binary files /dev/null and b/pics/animation-77.png differ diff --git a/pics/animation-78.png b/pics/animation-78.png new file mode 100644 index 0000000..43a1846 Binary files /dev/null and b/pics/animation-78.png differ diff --git a/pics/animation-79.png b/pics/animation-79.png new file mode 100644 index 0000000..f71cd04 Binary files /dev/null and b/pics/animation-79.png differ diff --git a/pics/progress-00.png b/pics/progress-00.png new file mode 100644 index 0000000..46ba959 Binary files /dev/null and b/pics/progress-00.png differ diff --git a/pics/progress-01.png b/pics/progress-01.png new file mode 100644 index 0000000..96db3ef Binary files /dev/null and b/pics/progress-01.png differ diff --git a/pics/progress-02.png b/pics/progress-02.png new file mode 100644 index 0000000..c467d8e Binary files /dev/null and b/pics/progress-02.png differ diff --git a/pics/progress-03.png b/pics/progress-03.png new file mode 100644 index 0000000..c9e1cca Binary files /dev/null and b/pics/progress-03.png differ diff --git a/pics/progress-04.png b/pics/progress-04.png new file mode 100644 index 0000000..7c7814e Binary files /dev/null and b/pics/progress-04.png differ diff --git a/pics/progress-05.png b/pics/progress-05.png new file mode 100644 index 0000000..07ec7bd Binary files /dev/null and b/pics/progress-05.png differ diff --git a/pics/progress-06.png b/pics/progress-06.png new file mode 100644 index 0000000..f19ad32 Binary files /dev/null and b/pics/progress-06.png differ diff --git a/pics/progress-07.png b/pics/progress-07.png new file mode 100644 index 0000000..34142a4 Binary files /dev/null and b/pics/progress-07.png differ diff --git a/pics/progress-08.png b/pics/progress-08.png new file mode 100644 index 0000000..43b3376 Binary files /dev/null and b/pics/progress-08.png differ diff --git a/pics/progress-09.png b/pics/progress-09.png new file mode 100644 index 0000000..e997547 Binary files /dev/null and b/pics/progress-09.png differ diff --git a/pics/progress-10.png b/pics/progress-10.png new file mode 100644 index 0000000..4ba29a3 Binary files /dev/null and b/pics/progress-10.png differ diff --git a/pics/progress-11.png b/pics/progress-11.png new file mode 100644 index 0000000..f4267ec Binary files /dev/null and b/pics/progress-11.png differ diff --git a/pics/progress-12.png b/pics/progress-12.png new file mode 100644 index 0000000..93c4441 Binary files /dev/null and b/pics/progress-12.png differ diff --git a/pics/progress-13.png b/pics/progress-13.png new file mode 100644 index 0000000..362ef92 Binary files /dev/null and b/pics/progress-13.png differ diff --git a/pics/progress-14.png b/pics/progress-14.png new file mode 100644 index 0000000..e7aad92 Binary files /dev/null and b/pics/progress-14.png differ diff --git a/pics/progress-15.png b/pics/progress-15.png new file mode 100644 index 0000000..cd44d7e Binary files /dev/null and b/pics/progress-15.png differ diff --git a/pics/progress-16.png b/pics/progress-16.png new file mode 100644 index 0000000..3ecfd6c Binary files /dev/null and b/pics/progress-16.png differ diff --git a/pics/progress-17.png b/pics/progress-17.png new file mode 100644 index 0000000..28cb18f Binary files /dev/null and b/pics/progress-17.png differ diff --git a/pics/progress-18.png b/pics/progress-18.png new file mode 100644 index 0000000..0cd36c8 Binary files /dev/null and b/pics/progress-18.png differ diff --git a/pics/progress-19.png b/pics/progress-19.png new file mode 100644 index 0000000..bf0fe02 Binary files /dev/null and b/pics/progress-19.png differ diff --git a/pics/progress-20.png b/pics/progress-20.png new file mode 100644 index 0000000..079cbde Binary files /dev/null and b/pics/progress-20.png differ diff --git a/pics/progress-21.png b/pics/progress-21.png new file mode 100644 index 0000000..7cd97a9 Binary files /dev/null and b/pics/progress-21.png differ diff --git a/pics/progress-22.png b/pics/progress-22.png new file mode 100644 index 0000000..052bbd8 Binary files /dev/null and b/pics/progress-22.png differ diff --git a/pics/progress-23.png b/pics/progress-23.png new file mode 100644 index 0000000..bec2433 Binary files /dev/null and b/pics/progress-23.png differ diff --git a/pics/progress-24.png b/pics/progress-24.png new file mode 100644 index 0000000..b839ef9 Binary files /dev/null and b/pics/progress-24.png differ diff --git a/pics/progress-25.png b/pics/progress-25.png new file mode 100644 index 0000000..7aa4a81 Binary files /dev/null and b/pics/progress-25.png differ diff --git a/pics/progress-26.png b/pics/progress-26.png new file mode 100644 index 0000000..f61a777 Binary files /dev/null and b/pics/progress-26.png differ diff --git a/pics/progress-27.png b/pics/progress-27.png new file mode 100644 index 0000000..ca412da Binary files /dev/null and b/pics/progress-27.png differ diff --git a/pics/progress-28.png b/pics/progress-28.png new file mode 100644 index 0000000..d81bb10 Binary files /dev/null and b/pics/progress-28.png differ diff --git a/pics/progress-29.png b/pics/progress-29.png new file mode 100644 index 0000000..e084475 Binary files /dev/null and b/pics/progress-29.png differ diff --git a/pics/progress-30.png b/pics/progress-30.png new file mode 100644 index 0000000..162604c Binary files /dev/null and b/pics/progress-30.png differ diff --git a/pics/progress-31.png b/pics/progress-31.png new file mode 100644 index 0000000..ae7028f Binary files /dev/null and b/pics/progress-31.png differ diff --git a/pics/progress-32.png b/pics/progress-32.png new file mode 100644 index 0000000..7870002 Binary files /dev/null and b/pics/progress-32.png differ diff --git a/pics/progress-33.png b/pics/progress-33.png new file mode 100644 index 0000000..98514ba Binary files /dev/null and b/pics/progress-33.png differ diff --git a/pics/progress-34.png b/pics/progress-34.png new file mode 100644 index 0000000..1eb13c9 Binary files /dev/null and b/pics/progress-34.png differ diff --git a/pics/progress-35.png b/pics/progress-35.png new file mode 100644 index 0000000..09c27ea Binary files /dev/null and b/pics/progress-35.png differ diff --git a/pics/progress-36.png b/pics/progress-36.png new file mode 100644 index 0000000..2fe3e98 Binary files /dev/null and b/pics/progress-36.png differ diff --git a/pics/progress-37.png b/pics/progress-37.png new file mode 100644 index 0000000..923d539 Binary files /dev/null and b/pics/progress-37.png differ diff --git a/pics/progress-38.png b/pics/progress-38.png new file mode 100644 index 0000000..a1eca21 Binary files /dev/null and b/pics/progress-38.png differ diff --git a/pics/progress-39.png b/pics/progress-39.png new file mode 100644 index 0000000..79eebbf Binary files /dev/null and b/pics/progress-39.png differ diff --git a/pics/progress-40.png b/pics/progress-40.png new file mode 100644 index 0000000..b1bd73d Binary files /dev/null and b/pics/progress-40.png differ diff --git a/pics/progress-41.png b/pics/progress-41.png new file mode 100644 index 0000000..c321a02 Binary files /dev/null and b/pics/progress-41.png differ diff --git a/pics/progress-42.png b/pics/progress-42.png new file mode 100644 index 0000000..d8535cc Binary files /dev/null and b/pics/progress-42.png differ diff --git a/pics/progress-43.png b/pics/progress-43.png new file mode 100644 index 0000000..6a64c4c Binary files /dev/null and b/pics/progress-43.png differ diff --git a/pics/progress-44.png b/pics/progress-44.png new file mode 100644 index 0000000..94c336d Binary files /dev/null and b/pics/progress-44.png differ diff --git a/pics/progress-45.png b/pics/progress-45.png new file mode 100644 index 0000000..3b9001d Binary files /dev/null and b/pics/progress-45.png differ diff --git a/pics/progress-46.png b/pics/progress-46.png new file mode 100644 index 0000000..052c272 Binary files /dev/null and b/pics/progress-46.png differ diff --git a/pics/progress-47.png b/pics/progress-47.png new file mode 100644 index 0000000..e84e785 Binary files /dev/null and b/pics/progress-47.png differ diff --git a/pics/progress-48.png b/pics/progress-48.png new file mode 100644 index 0000000..593b8c1 Binary files /dev/null and b/pics/progress-48.png differ diff --git a/pics/progress-49.png b/pics/progress-49.png new file mode 100644 index 0000000..df8b406 Binary files /dev/null and b/pics/progress-49.png differ diff --git a/pics/progress-50.png b/pics/progress-50.png new file mode 100644 index 0000000..1f229f3 Binary files /dev/null and b/pics/progress-50.png differ diff --git a/pics/progress-51.png b/pics/progress-51.png new file mode 100644 index 0000000..f04b9d0 Binary files /dev/null and b/pics/progress-51.png differ diff --git a/pics/progress-52.png b/pics/progress-52.png new file mode 100644 index 0000000..f095bb1 Binary files /dev/null and b/pics/progress-52.png differ diff --git a/pics/progress-53.png b/pics/progress-53.png new file mode 100644 index 0000000..ea8256d Binary files /dev/null and b/pics/progress-53.png differ diff --git a/pics/progress-54.png b/pics/progress-54.png new file mode 100644 index 0000000..1f9f6cc Binary files /dev/null and b/pics/progress-54.png differ diff --git a/pics/progress-55.png b/pics/progress-55.png new file mode 100644 index 0000000..8efdfe3 Binary files /dev/null and b/pics/progress-55.png differ diff --git a/pics/progress-56.png b/pics/progress-56.png new file mode 100644 index 0000000..8c9fbd6 Binary files /dev/null and b/pics/progress-56.png differ diff --git a/pics/progress-57.png b/pics/progress-57.png new file mode 100644 index 0000000..a6f30bc Binary files /dev/null and b/pics/progress-57.png differ diff --git a/pics/progress-58.png b/pics/progress-58.png new file mode 100644 index 0000000..4b39244 Binary files /dev/null and b/pics/progress-58.png differ diff --git a/pics/progress-59.png b/pics/progress-59.png new file mode 100644 index 0000000..bee9611 Binary files /dev/null and b/pics/progress-59.png differ diff --git a/pics/progress-60.png b/pics/progress-60.png new file mode 100644 index 0000000..2a28d25 Binary files /dev/null and b/pics/progress-60.png differ diff --git a/pics/progress-61.png b/pics/progress-61.png new file mode 100644 index 0000000..5a9406d Binary files /dev/null and b/pics/progress-61.png differ diff --git a/pics/progress-62.png b/pics/progress-62.png new file mode 100644 index 0000000..8c4349f Binary files /dev/null and b/pics/progress-62.png differ diff --git a/pics/progress-63.png b/pics/progress-63.png new file mode 100644 index 0000000..26413a6 Binary files /dev/null and b/pics/progress-63.png differ diff --git a/pics/progress-64.png b/pics/progress-64.png new file mode 100644 index 0000000..96198d5 Binary files /dev/null and b/pics/progress-64.png differ diff --git a/pics/progress-65.png b/pics/progress-65.png new file mode 100644 index 0000000..8ada48e Binary files /dev/null and b/pics/progress-65.png differ diff --git a/pics/progress-66.png b/pics/progress-66.png new file mode 100644 index 0000000..a3daff0 Binary files /dev/null and b/pics/progress-66.png differ diff --git a/pics/progress-67.png b/pics/progress-67.png new file mode 100644 index 0000000..92300f9 Binary files /dev/null and b/pics/progress-67.png differ diff --git a/pics/progress-68.png b/pics/progress-68.png new file mode 100644 index 0000000..248486b Binary files /dev/null and b/pics/progress-68.png differ diff --git a/pics/progress-69.png b/pics/progress-69.png new file mode 100644 index 0000000..44c2cd5 Binary files /dev/null and b/pics/progress-69.png differ diff --git a/pics/progress-70.png b/pics/progress-70.png new file mode 100644 index 0000000..5625821 Binary files /dev/null and b/pics/progress-70.png differ diff --git a/pics/progress-71.png b/pics/progress-71.png new file mode 100644 index 0000000..7140466 Binary files /dev/null and b/pics/progress-71.png differ diff --git a/pics/progress-72.png b/pics/progress-72.png new file mode 100644 index 0000000..f77fe1e Binary files /dev/null and b/pics/progress-72.png differ diff --git a/pics/progress-73.png b/pics/progress-73.png new file mode 100644 index 0000000..8e14487 Binary files /dev/null and b/pics/progress-73.png differ diff --git a/pics/progress-74.png b/pics/progress-74.png new file mode 100644 index 0000000..8606d29 Binary files /dev/null and b/pics/progress-74.png differ diff --git a/pics/progress-75.png b/pics/progress-75.png new file mode 100644 index 0000000..3b9024e Binary files /dev/null and b/pics/progress-75.png differ diff --git a/pics/progress-76.png b/pics/progress-76.png new file mode 100644 index 0000000..ababce2 Binary files /dev/null and b/pics/progress-76.png differ diff --git a/pics/progress-77.png b/pics/progress-77.png new file mode 100644 index 0000000..4f8117c Binary files /dev/null and b/pics/progress-77.png differ diff --git a/pics/progress-78.png b/pics/progress-78.png new file mode 100644 index 0000000..552fc10 Binary files /dev/null and b/pics/progress-78.png differ diff --git a/pics/progress-79.png b/pics/progress-79.png new file mode 100644 index 0000000..40577a4 Binary files /dev/null and b/pics/progress-79.png differ diff --git a/res/Chaotianjiang.png b/res/Chaotianjiang.png new file mode 100755 index 0000000..a90fa51 Binary files /dev/null and b/res/Chaotianjiang.png differ diff --git a/res/logo.png b/res/logo.png new file mode 100755 index 0000000..d8071b4 Binary files /dev/null and b/res/logo.png differ diff --git a/res/waao.png b/res/waao.png new file mode 100644 index 0000000..d4cc39a Binary files /dev/null and b/res/waao.png differ diff --git a/res/waao1.png b/res/waao1.png new file mode 100644 index 0000000..381c515 Binary files /dev/null and b/res/waao1.png differ diff --git a/res/watermark.png b/res/watermark.png new file mode 100644 index 0000000..3a68ee1 Binary files /dev/null and b/res/watermark.png differ diff --git a/settings.gradle.kts b/settings.gradle.kts new file mode 100644 index 0000000..2f1881f --- /dev/null +++ b/settings.gradle.kts @@ -0,0 +1,4 @@ +plugins { + id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0" +} +rootProject.name = "skacite" \ No newline at end of file diff --git a/src/main/kotlin/Main.kt b/src/main/kotlin/Main.kt new file mode 100644 index 0000000..7e25f33 --- /dev/null +++ b/src/main/kotlin/Main.kt @@ -0,0 +1,143 @@ +package com.acitelight + +import org.jetbrains.skia.Bitmap +import org.jetbrains.skia.BlendMode +import org.jetbrains.skia.Canvas +import org.jetbrains.skia.Color +import org.jetbrains.skia.EncodedImageFormat +import org.jetbrains.skia.FilterQuality +import org.jetbrains.skia.Font +import org.jetbrains.skia.Image +import org.jetbrains.skia.Paint +import org.jetbrains.skia.Rect +import org.jetbrains.skia.Surface +import org.jetbrains.skiko.SkiaLayer +import org.jetbrains.skiko.SkiaLayerRenderDelegate +import org.jetbrains.skiko.SkikoRenderDelegate + +import java.awt.Dimension +import java.awt.Rectangle +import java.io.File +import java.nio.file.Files +import java.nio.file.Paths +import javax.swing.JFrame +import javax.swing.SwingUtilities +import javax.swing.WindowConstants + +val arch = java.io.File("/home/acite/IdeaProjects/skacite/res/logo.png").readBytes() +val arch_image = Image.makeFromEncoded(arch) + +val waao = java.io.File("/home/acite/IdeaProjects/skacite/res/waao.png").readBytes() +val waao_image = Image.makeFromEncoded(waao) + +fun renderer(canvas: Canvas, width: Int, height: Int, progress: Float) +{ + + canvas.clear(Color.TRANSPARENT) + + canvas.drawImageRect( + arch_image, + Rect(width / 2f - 325f, height / 2f - 35 - 112f, width / 2f + 325f, height / 2f - 35f) + ) + + canvas.drawRect( + Rect(width / 2f - 325f, height / 2f + 35f, width / 2f + 325f, height / 2f + 35f + 5f), + Paint().apply { + color = Color.makeRGB(50, 50, 50) + }) + canvas.drawRect( + Rect(width / 2f - 325f, height / 2f + 35f, (width / 2f - 325f) + (650f * progress), height / 2f + 35f + 5f), + Paint().apply { + color = Color.makeRGB(50, 100, 250) + }) + + var fin = 1.0f; + if (progress > 0.9f) { + fin = (1.0f - progress) * 10f + } + val waao_size = 1200f * (1 - fin) + + var alpha = 1f; + if( fin < 0.2f) + { + alpha -= ((1 - fin) - 0.8f) * 5f + } + + canvas.drawImageRect( + waao_image, + Rect.makeXYWH(width / 2f - waao_size / 2f, height / 2f - waao_size / 2f, waao_size, waao_size), + Paint().apply { + color = Color.makeARGB((255 * alpha).toInt(), 50, 100, 250) + } + ) + +} + +fun saveBitmapToPNG(bitmap: Bitmap, path: String) { + val image = Image.makeFromBitmap(bitmap) + + val pngData = image.encodeToData(EncodedImageFormat.PNG) + ?: throw IllegalStateException("Failed to encode bitmap as PNG") + + Files.write(File(path).toPath(), pngData.bytes) +} + +fun genFrames() +{ + val width = 1920 + val height = 1080 + val outputDir = File("./pics") + if (!outputDir.exists()) outputDir.mkdirs() + + val surface = Surface.makeRasterN32Premul(width, height) + + val totalFrames = 160 + for (i in 0 until totalFrames) { + val canvas = surface.canvas + val progress = i.toFloat() / (totalFrames - 1) + + renderer(canvas, width, height, progress) + + val snapshot = surface.makeImageSnapshot() + val bmp = Bitmap() + bmp.allocPixels(snapshot.imageInfo) + snapshot.readPixels(bmp) + + val filename = if (i < 80) { + "progress-%02d.png".format(i) + } else { + "animation-%02d.png".format(i - 80) + } + + val path = File(outputDir, filename).absolutePath + saveBitmapToPNG(bmp, path) + println("Saved: $filename") + + // 清空画布避免上一帧残留 + canvas.clear(Color.TRANSPARENT) + } + + println("✅ All frames saved to ${outputDir.absolutePath}") +} + +fun main() { + genFrames() + val skiaLayer = SkiaLayer() + skiaLayer.renderDelegate = SkiaLayerRenderDelegate(skiaLayer, object : SkikoRenderDelegate { + override fun onRender(canvas: Canvas, width: Int, height: Int, nanoTime: Long) { + val ts = nanoTime / 1_000_000 + renderer(canvas, width, height, (ts % 5000) / 5000.0f) + } + }) + + SwingUtilities.invokeLater { + val window = JFrame("Skiko Plymouth").apply { + defaultCloseOperation = WindowConstants.EXIT_ON_CLOSE + preferredSize = Dimension(1920, 1080) + } + skiaLayer.attachTo(window.contentPane) + skiaLayer.needRedraw() + window.pack() + window.isVisible = true + } +} \ No newline at end of file