Skip to content

Instantly share code, notes, and snippets.

Michael Heinrichs netopyr

Block or report user

Report or block netopyr

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@netopyr
netopyr / dummy2.java
Last active Dec 15, 2015
Attaching visual elements to the dummy
View dummy2.java
// Definition of head
final Bone head = new Bone(30, 90);
head.getContent().add(new Ellipse(20, 15));
// Definition of torso
final Bone torso = new Bone(80, 0);
torso.getContent().add(new Ellipse(40, 0, 50, 20));
head.getChildren().add(torso);
final Bone[] upperArm = new Bone[2];
@netopyr
netopyr / visual_bone.java
Last active Dec 15, 2015
Attaching visual elements to a bone
View visual_bone.java
// Attaching visual elements to a bone
final Bone bone = new Bone(50, 30);
bone.getContent().addAll(
new Circle(20),
new Ellipse(45, 0, 25, 15),
new Circle(80, 0, 10)
);
@netopyr
netopyr / connecting_bones.java
Created Mar 27, 2013
Adding bone b2 to the children of bone b1
View connecting_bones.java
// Adding bone b2 to the children of bone b1
b1.getChildren().add(b2);
@netopyr
netopyr / single_bone.java
Last active Dec 15, 2015
Creating a single bone
View single_bone.java
// Creating a single bone
final Bone bone = new Bone(110, 90);
You can’t perform that action at this time.