Hi !
Featured games (87)
games approved by the League of Dukes
Games in Showcase (672)
Games in Android Showcase (194)
games submitted by our members
Games in WIP (727)
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 5712 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.

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

JGO Kernel

Medals: 422
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 Kernel

Medals: 256
Projects: 4

Enthusiast of amusement. Lover of code.

« 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:

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

and some stills:
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:
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.

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.
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:

and the math is here (google translate does okay, but the equations get borked):
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:
Offline drdracula

Junior Devvie

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 :
Online theagentd

« JGO Bitwise Duke »

Medals: 727
Projects: 4
Exp: 8 years

« Reply #13 - Posted 2013-10-23 19:49:52 »

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

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

IanParcs (49 views)
2016-04-18 14:18:53

KaiHH (47 views)
2016-04-18 08:35:41

KaiHH (77 views)
2016-04-15 12:43:58

theagentd (81 views)
2016-04-14 02:16:17

theagentd (95 views)
2016-04-14 02:15:43

IanParcs (110 views)
2016-04-12 03:51:16

IanParcs (49 views)
2016-04-12 03:50:03

IanParcs (46 views)
2016-04-12 03:49:54

IanParcs (42 views)
2016-04-12 03:49:52

IanParcs (50 views)
2016-04-12 03:49:52
Website offering 3D Models specifically for games for free
by vusman
2016-04-29 12:56:17

List of Learning Resources
by SilverTiger
2016-02-05 09:39:47

List of Learning Resources
by SilverTiger
2016-02-05 09:38:38

List of Learning Resources
by SilverTiger
2016-02-05 09:35:50

Rendering resources
by Roquen
2015-11-13 14:37:59

Rendering resources
by Roquen
2015-11-13 14:36:58

Math: Resources
by Roquen
2015-10-22 07:46:10

Networking Resources
by Roquen
2015-10-16 07:12:30 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‑
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!