https://github.com/oliverbauer/examples
Some small running examples. Pull requests are welcome if the examples stay small:-)
https://github.com/oliverbauer/examples
java jmonkeyengine3 jsoup libgdx neo4j orientdb tinkerpop3
Last synced: about 1 year ago
JSON representation
Some small running examples. Pull requests are welcome if the examples stay small:-)
- Host: GitHub
- URL: https://github.com/oliverbauer/examples
- Owner: oliverbauer
- Created: 2020-08-18T12:27:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-18T04:28:15.000Z (about 5 years ago)
- Last Synced: 2025-02-01T14:37:53.266Z (about 1 year ago)
- Topics: java, jmonkeyengine3, jsoup, libgdx, neo4j, orientdb, tinkerpop3
- Language: Java
- Homepage:
- Size: 10.6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# examples
Some small running examples and some short notes on it
## libgdx-mesh-experiments

## orientdb-tinkerpop
Downloads some actor informations of a few movies from (german) [Wikipedia](https://de.wikipedia.org/wiki/Wikipedia:Hauptseite) (parsed with [jsoup](https://jsoup.org/)). Some temporary yaml-files will be created (loaded with [Jackson](https://github.com/FasterXML/jackson)) that will serve as input to [OrientDB](https://www.orientdb.org/) (submitted with [Apache TinkerPop](https://tinkerpop.apache.org/)).
The following Screenshot (OrientDB Studio) depicts a shortest path between two movies:

Howto run: Start OrientDB
```
...orientdb-3.1.6/bin$ ./server.sh
```
and run the main class
```
examples/orientdb/tinkerpop$ mvn exec:java -Dexec.mainClass=io.github.orientdb.example.Main
```
You maybe need to create a demodb and use admin/admin as username/password - i can't remember. Otherwise change Main.java for your needs.
Check out the readme.txt for some simple queries and how to remove nodes.
## libgdx-example01
An example for [stackoverflow-question](https://stackoverflow.com/questions/63446137/3d-background-in-libgdx-without-using-blender-fbx-conv)
*originalinput* is wxh: 5184x3888
Imagemagick:
> convert originalinput.jpg -geometry 624x originalSmall.jpg
*originalSmall* is wxh: 648x468

I created a "mirror image" of *originalSmall* using the following source code:
https://dyclassroom.com/image-processing-project/how-to-create-a-mirror-image-in-java

I downloaded a project called "Cylinder to Skybox" (easy to use jar-file) which creates 6 images for me
https://sourceforge.net/projects/cylindertoskybox/

Screenshot of a private project (*libgdx-example01* only contains a single colored cube)
