Skip to content

Arxshot/pentagram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pentagram Generation

alt text

Create the pentagram animation in Java Canvas like above demo shows.

Looks best if using prime numbers between 5 and 23. The image above is using 7 to feed the number of points.

The rendering uses random to create a fuzzy red sand line. The sparkle effect is created with a velocity in the opposite direction to that of travel. There is about 1000 sparkle entities which are rendered to the canvas each time with an increasing transparency the longer they have existed so they fade out and naturally disappear.

About

Java GUI Pentagram Drawer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages