All Projects → FXyz → Fxyz

FXyz / Fxyz

Licence: other
A JavaFX 3D Visualization and Component Library

Programming Languages

java
68154 projects - #9 most used programming language

Labels

Projects that are alternatives of or similar to Fxyz

blackstone
Gomoku (Five in a Row) game manager with a powerful built-in AI, written in Java with a clean, minimal interface.
Stars: ✭ 33 (-88.93%)
Mutual labels:  javafx
iliasDownloaderTool
synchronize, manage and download the files from your e-learning platform https://www.ilias.de/
Stars: ✭ 46 (-84.56%)
Mutual labels:  javafx
ktfx
Kotlin extensions for JavaFX app development
Stars: ✭ 13 (-95.64%)
Mutual labels:  javafx
jmonet
An easy-to-use toolkit for incorporating MacPaint / Microsoft Paint-like tools into a Java Swing or JavaFX application.
Stars: ✭ 27 (-90.94%)
Mutual labels:  javafx
msgbots
Messenger Bot Simulator ( Rhino )
Stars: ✭ 17 (-94.3%)
Mutual labels:  javafx
hacklympics
🏆 Full-stack online programming examination system
Stars: ✭ 44 (-85.23%)
Mutual labels:  javafx
CeylonFX
Ceylon interface for JavaFX
Stars: ✭ 13 (-95.64%)
Mutual labels:  javafx
Hmcl
A Minecraft Launcher which is multi-functional, cross-platform and popular
Stars: ✭ 3,362 (+1028.19%)
Mutual labels:  javafx
TinyClip
🚀 JavaFX开发的FFMPEG-GUI客户端
Stars: ✭ 59 (-80.2%)
Mutual labels:  javafx
ktPlayer-Music-Player
ktPlayer - Music Player on Java 8 with using JavaFX (Desktop)
Stars: ✭ 22 (-92.62%)
Mutual labels:  javafx
bluebub
A library for creating chat bubbles in JavaFX
Stars: ✭ 43 (-85.57%)
Mutual labels:  javafx
Code2HTML
JavaFX tool for converting source code to styled HTML
Stars: ✭ 26 (-91.28%)
Mutual labels:  javafx
FXFileChooser
Custom JavaFX file chooser which allows quick manual filtering, which allows to add Path predicates as filter and which is testable using TestFX.
Stars: ✭ 22 (-92.62%)
Mutual labels:  javafx
kotlin-gradle-templates
Quick start kotlin gradle DSL
Stars: ✭ 50 (-83.22%)
Mutual labels:  javafx
JavaFX-3D
JavaFX 3D Development Tutorial
Stars: ✭ 29 (-90.27%)
Mutual labels:  javafx
openjfx-docs
Getting started guide for JavaFX 11
Stars: ✭ 70 (-76.51%)
Mutual labels:  javafx
SporeModder-FX
The most advanced and modern Spore modding tool.
Stars: ✭ 24 (-91.95%)
Mutual labels:  javafx
Naivechat
🎭 本项目是作者小傅哥使用JavaFx、Netty4.x、SpringBoot、Mysql等技术栈和偏向于DDD领域驱动设计方式,搭建的仿桌面版微信实现通信核心功能。课程文章已发布到GitChat专栏,欢迎购买。如果本项目能为您提供帮助,请给予支持(关注、⭐️Star、分享)!
Stars: ✭ 290 (-2.68%)
Mutual labels:  javafx
Animatefx
A library of +70 ready-to-use animations for JavaFX
Stars: ✭ 254 (-14.77%)
Mutual labels:  javafx
AsyPad
A simple drawing tool that can convert diagrams into Asymptote code.
Stars: ✭ 18 (-93.96%)
Mutual labels:  javafx

FXyz3D

  • FXyz3D Core: Download

  • FXyz3D Client: Download

  • FXyz3D Importers: Download

A JavaFX 3D Visualization and Component Library

BSD-3 license

How to build

The project is managed by gradle. To build, type

./gradlew assemble

To deploy it to your local Maven repository, type:

./gradlew publishToMavenLocal

Use of FXyz3D Core

With FXyz3D there are many different 3D custom shapes. The following sample makes use of SpringMesh to create a 3D mesh of a spring.

Sample

Create a gradle project, edit the build.gradle file and add:

plugins {
    id 'application'
    id 'org.openjfx.javafxplugin' version '0.0.9'
}

mainClassName = 'org.fxyz3d.Sample'

repositories {
    mavenCentral()
}

dependencies {
    implementation 'org.fxyz3d:fxyz3d:0.5.2'
}

javafx {
    modules = [ 'javafx.controls' ]
}

and create a JavaFX Application class Sample under the org.fxyz3d package:

    @Override
    public void start(Stage primaryStage) throws Exception {
        PerspectiveCamera camera = new PerspectiveCamera(true);        
        camera.setNearClip(0.1);
        camera.setFarClip(10000.0);
        camera.setTranslateX(10);
        camera.setTranslateZ(-100);
        camera.setFieldOfView(20);
        
        CameraTransformer cameraTransform = new CameraTransformer();
        cameraTransform.getChildren().add(camera);
        cameraTransform.ry.setAngle(-30.0);
        cameraTransform.rx.setAngle(-15.0);
        
        SpringMesh spring = new SpringMesh(10, 2, 2, 8 * 2 * Math.PI, 200, 100, 0, 0);
        spring.setCullFace(CullFace.NONE);
        spring.setTextureModeVertices3D(1530, p -> p.f);
        
        Group group = new Group(cameraTransform, spring);
        
        Scene scene = new Scene(group, 600, 400, true, SceneAntialiasing.BALANCED);
        scene.setFill(Color.BISQUE);
        scene.setCamera(camera);
        
        primaryStage.setScene(scene);
        primaryStage.setTitle("FXyz3D Sample");
        primaryStage.show();
    }

Note: For more information on JavaFX 11, check this link.

FXSampler

To use the FXSampler and visualize all the samples and the different options available, run:

./gradlew run

There is a hidden side popup menu at the left, from where different samples can be selected. From the right panels different options can be applied dynamically to the 3D shape.

Custom image

You can create a custom image for your platform running:

./gradlew clean :FXyz-Samples:jlink  

And you can run it with Java 9+ on your platform:

FXyz-Samples/build/FXyz/bin/FXyzSamples

Special Thanks go to ControlsFX for providing the FXSampler framework. http://fxexperience.com/controlsfx/ Our Sampler uses a heavily modified version, due to being 3D.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].