GithubHelp home page GithubHelp logo

smwolfskill / fractals Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 3.0 267 KB

Fractals is a web app for generating fractals via recursion for a set amount of iterations and is run on Spring Framework in Java. Currently features 2D Fractal Tree and Fractal Circles generation.

Java 81.30% HTML 8.23% CSS 2.91% JavaScript 7.56%
spring-boot springframework java html-css-javascript webapp fractal-images fractal-tree

fractals's Introduction

Fractals

Fractals is a web app for generating fractals via recursion for a set amount of iterations, and is run on Spring Framework in Java.

Fractal Types

Currently the user may generate and play around with a 2D Fractal Tree or 2D Fractal Circles.

Fractal Tree

A FractalTree branches from a parent line segment into two child segments each iteration that change in scale depending on the scaling factor. Each iteration i generates 2i line segment nodes.

This Fractal Tree was created with 14 iterations, an angle of 60 degrees between child nodes, and a scaling factor of 0.77, meaning each child line segment is 77% as long as its parent.

Image of Fractal Tree

Fractal Circles

FractalCircle generates a set number of child circle 'satellites' each iteration that intersect with the parent circle at a single point. Every iteration satellite radius changes proportionally to the scaling factor. With s satellites, each iteration i generates si circle satellites.

These Fractal Circles were generated with only 4 iterations, 10 satellites, and a scaling factor of 0.5, meaning each satellite has half the radius of its parent and thus a quarter of the area.

Image of Fractal Circles

fractals's People

Contributors

smwolfskill avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.