Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (576)
games submitted by our members
Games in WIP (497)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Me goofing around.  (Read 2862 times)
0 Members and 1 Guest are viewing this topic.
Online Roquen
« Posted 2013-07-14 01:59:35 »

I've been very low on free time recently, so I've been goofing around with fractals.  I've never really payed attention to them before and it's doable in very small time slices.

http://glsl.heroku.com/e#9994.2
http://glsl.heroku.com/e#9903.1
http://glsl.heroku.com/e#9904.1
http://glsl.heroku.com/e#9915.1
http://glsl.heroku.com/e#9916.2
http://glsl.heroku.com/e#9971.0

Set the sampling down to .5.  You can pan & zoom with the mouse.
Offline ra4king

JGO Kernel


Medals: 322
Projects: 2
Exp: 4 years


I'm the King!


« Reply #1 - Posted 2013-07-15 22:48:36 »

These are trippy as hell! I really need to learn how fractals work one day.

Online Roquen
« Reply #2 - Posted 2013-07-15 23:18:17 »

I don't know if I'm learning anything...but it's kinda fun.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline wessles

JGO Ninja


Medals: 49
Projects: 4
Exp: 3 years


Coding with bad posture since 2011... Nonstop.


« Reply #3 - Posted 2013-07-20 01:55:58 »

My eyes... *blacks out*
I've done something like this, but on a much simpler scale. It was just a player, in my game, but I mixed up with and x, and started messing around with is. What I got was a crazy looking person who got fatter and fatter as he moved to the right. But that is nothing compared to what this is. Bravo! I love how you can edit code as well!

You don't know nerdiness yet; you haven't even met me!
www.wessles.com
Online Roquen
« Reply #4 - Posted 2013-09-30 16:13:13 »

More goofing around: http://glsl.heroku.com/e#10873.3

(EDIT: The above won't compile for me in chrome, but works fine in Firefox...go figure).

and some stills: http://roquendm.deviantart.com/gallery/
Offline nerb
« Reply #5 - Posted 2013-09-30 16:54:25 »

I've been very low on free time recently, so I've been goofing around with fractals.

Funny that, me too (Julia sets; f(z) = z^2 + c through to f(z) = z^5 + c and so forth). I've been working on making a Android live-wallpaper out of them. Although I think your representation of them is far, far ahead of mine. The colour schemes look beautiful and almost other-worldly. In fact, I'll delve deeply into your code over the next few days and try to work out how you've done it.

Well done, it's very impressive.
Online Roquen
« Reply #6 - Posted 2013-09-30 17:45:20 »

The coloring scheme is by IQ.  Mostly I've been screwing around with domain deformations.  So for a julia or m-set style fractal:

c = T(s)

where 'c' is the standard additive (translation) term, 's' is the sampling point and T(s) is a change of domain function..aka the standard is T(s)=s.

So that in that last link, the T(s) code is after the comment "perform the domain mapping".  You can use about any analytic function here.

I have some domain plot of some functions here: http://s824.photobucket.com/user/RoquenDM/library/DomainPlots?sort=9&page=1
Offline nerb
« Reply #7 - Posted 2013-10-06 13:02:43 »

Cheers muchly Roquen. After reading your post, code and IQ's website I realised I was only scratching the surface of fractals & their representation. Been goofing around myself the past week and have had some good results; although still have plenty of more goofing around to do before I produce anything fancy.
Offline relminator
« Reply #8 - Posted 2013-10-06 17:14:47 »

Nice! @Roquen.

Used to delve into these things when democoding was big.

www.rel.phatcode.net/junk.php?id=34

The orbit algo to do the rings was from an article I found that applies the same coloring to the mandelbrot.  I just applied it to my julia animator out of curiosity and was surprised it looked fantastic.
Offline kramin42
« Reply #9 - Posted 2013-10-07 05:31:24 »

Strange attractors are fun too.
The animation works by changing the parameters of the equation and not all combinations of parameters result in chaos, so be patient Wink

It uses Processing.js and the source is in the html file.

"All science is either physics or stamp collecting." - Ernest Rutherford.
CodeGolf4k
M4nkala
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Online Roquen
« Reply #10 - Posted 2013-10-08 14:37:12 »

Oh yes.  There are tons of interesting structures, both visually and mathematically.

Here's another: http://www.josleys.com/show_gallery.php?galid=346

and the math is here (google translate does okay, but the equations get borked):

http://images.math.cnrs.fr/Les-ensembles-limites-de-groupes.html
Online Roquen
« Reply #11 - Posted 2013-10-08 16:56:58 »

Used to delve into these things when democoding was big.
Here you go.  A partial hack into GLSL: http://glsl.heroku.com/e#11441.0
Offline drdracula

Junior Member


Medals: 2
Projects: 1
Exp: 2 years


Mate Box


« Reply #12 - Posted 2013-10-23 21:45:20 »

It looks very interesting.  Wink

Programming, Design, Tutorials : http://www.matebox.bplaced.net
Offline theagentd
« Reply #13 - Posted 2013-10-23 21:49:52 »

Only 4 million pixels and an infinite precision image! The anti aliasing! It does nothing!

Myomyomyo.
Pages: [1]
  ignore  |  Print  
 
 

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (12 views)
2014-04-15 18:08:23

BurntPizza (10 views)
2014-04-15 03:46:01

UprightPath (24 views)
2014-04-14 17:39:50

UprightPath (10 views)
2014-04-14 17:35:47

Porlus (27 views)
2014-04-14 15:48:38

tom_mai78101 (49 views)
2014-04-10 04:04:31

BurntPizza (107 views)
2014-04-08 23:06:04

tom_mai78101 (207 views)
2014-04-05 13:34:39

trollwarrior1 (176 views)
2014-04-04 12:06:45

CJLetsGame (182 views)
2014-04-01 02:16:10
List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:05:20
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!