Class ProceduralStyleGenerator
java.lang.Object
org.episteme.social.arts.ProceduralStyleGenerator
Procedural generation of artistic styles based on historical parameters.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumHistorical art periods with their characteristic parameters. -
Method Summary
Modifier and TypeMethodDescriptionGenerates composition parameters for a given period.static List<int[]> generatePalette(ProceduralStyleGenerator.Period period, int colorCount) Generates a period-appropriate color palette.static RealhierarchicalScale(Real baseSize, int importanceRank, int totalElements) Calculates the size of an element based on importance (Medieval/Byzantine style).static RealperspectiveScale(Real distance, Real focalLength, ProceduralStyleGenerator.Period period) Calculates perspective scaling factor for distance from viewer.
-
Method Details
-
generateCompositionRules
Generates composition parameters for a given period. -
hierarchicalScale
-
perspectiveScale
public static Real perspectiveScale(Real distance, Real focalLength, ProceduralStyleGenerator.Period period) Calculates perspective scaling factor for distance from viewer. -
generatePalette
Generates a period-appropriate color palette.
-