Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (489)
Games in Android Showcase (112)
games submitted by our members
Games in WIP (553)
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 3356 times)
0 Members and 1 Guest are viewing this topic.
Offline Roquen
« Posted 2013-07-13 23: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.
Online ra4king

JGO Kernel


Medals: 345
Projects: 3
Exp: 5 years


I'm the King!


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

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

Offline Roquen
« Reply #2 - Posted 2013-07-15 21: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 Wizard


Medals: 66
Projects: 4
Exp: 3 years


Profile picture isn't relevant.


« Reply #3 - Posted 2013-07-19 23: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!

Offline Roquen
« Reply #4 - Posted 2013-09-30 14: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 14: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.
Offline Roquen
« Reply #6 - Posted 2013-09-30 15: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 11: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 15: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 03: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
Offline Roquen
« Reply #10 - Posted 2013-10-08 12: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
Offline Roquen
« Reply #11 - Posted 2013-10-08 14: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 19:45:20 »

It looks very interesting.  Wink

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

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

Myomyomyo.
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

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

The first screenshot will be displayed as a thumbnail.

TehJavaDev (18 views)
2014-08-28 18:26:30

CopyableCougar4 (26 views)
2014-08-22 19:31:30

atombrot (39 views)
2014-08-19 09:29:53

Tekkerue (36 views)
2014-08-16 06:45:27

Tekkerue (33 views)
2014-08-16 06:22:17

Tekkerue (22 views)
2014-08-16 06:20:21

Tekkerue (33 views)
2014-08-16 06:12:11

Rayexar (70 views)
2014-08-11 02:49:23

BurntPizza (47 views)
2014-08-09 21:09:32

BurntPizza (37 views)
2014-08-08 02:01:56
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!