Giter VIP home page Giter VIP logo

nextbreakpoint / nextfractal Goto Github PK

View Code? Open in Web Editor NEW
16.0 3.0 6.0 87.55 MB

NextFractal is an application for creating fractals and other algorithmically generated images

License: GNU General Public License v3.0

Java 96.85% ANTLR 2.81% CSS 0.26% Shell 0.03% MATLAB 0.05%
java javafx javafx-application fractals fractal-rendering fractal-algorithms creating-fractals mandelbrot-fractal julia-fractal

nextfractal's Issues

git checkout not running

$ git checkout https://github.com/nextbreakpoint/nextfractal.git
fatal: Not a git repository (or any of the parent directories): .git

... whereas git clone does the job.

Serious crash with some parameters

Yesterday I was playing with Nextfractal, tinkering with the parameters of one of the examples, this one:
Sin título

I know nothing about programmation, or M Language, but I am an advanced user with experience with fractal software.
I modified the formula after Loop to this: x = x * x * x * x * x * x - w; to get an hexagon.
I tinkered with more parameters without problems. And then I tried different valours in the palette gradient part. I tried very low and very high valours.
In this part:
palette gradient {
[#FCFF0A0A > #FFFFFFFF, 4];
[#CEFFFFFF > #FF0042A9, 500];
[#FF0042A9 > #FF000000, 2];

If I changed one of those numbers on the right to very very very high valours the program turns unresponsive, then the graphic card driver crashes and seconds after that I get a Blue Screen Of Death. After 4 BSOD in twenty minutes I decided to stop introducing very high numbers.

My computer is an Intel 4770, 16 GB RAM, GeForce GTX 1060 6GB, with Windows 10 Pro and the last Nvidia drivers.

java.lang.OutOfMemoryError: Java heap space

This issue happens on rendering a png 2048x2048 of spiral-001.nf. Same error on v.2.1.2 and current 2.2.0.

Same arguments:

JVM arguments:
--module-path=/home/joao/bin/NextFractal2.2/jars
--add-modules=ALL-MODULE-PATH
-Djava.library.path=/home/joao/bin/NextFractal2.2
-Dbrowser.location=/home/joao/bin/NextFractal2.2/examples
-Djava.util.logging.config.class=com.nextbreakpoint.nextfractal.runtime.logging.LogConfig
-Xmx4g

On 2.1.2:

2021-03-09 22:04:47 WARNING com.nextbreakpoint.nextfractal.contextfree.renderer.Renderer doRender Cannot render fractal
java.lang.OutOfMemoryError: Java heap space
	at java.base/java.util.Arrays.copyOf(Unknown Source)
	at java.base/java.util.ArrayList.grow(Unknown Source)
	at java.base/java.util.ArrayList.grow(Unknown Source)
	at java.base/java.util.ArrayList.add(Unknown Source)
	at java.base/java.util.ArrayList.add(Unknown Source)
	at [email protected]/com.nextbreakpoint.nextfractal.contextfree.grammar.CFDGRenderer.processPrimShapeSiblings(CFDGRenderer.java:601)
	at [email protected]/com.nextbreakpoint.nextfractal.contextfree.grammar.CFDGRenderer.processPrimShape(CFDGRenderer.java:520)
	at [email protected]/com.nextbreakpoint.nextfractal.contextfree.grammar.CFDGRenderer.processShape(CFDGRenderer.java:508)
	at [email protected]/com.nextbreakpoint.nextfractal.contextfree.grammar.ast.ASTReplacement.traverse(ASTReplacement.java:134)
	at [email protected]/com.nextbreakpoint.nextfractal.contextfree.grammar.ast.ASTRepContainer.traverse(ASTRepContainer.java:156)
	at [email protected]/com.nextbreakpoint.nextfractal.contextfree.grammar.ast.ASTRule.traverse(ASTRule.java:150)
	at [email protected]/com.nextbreakpoint.nextfractal.contextfree.grammar.CFDGRenderer.run(CFDGRenderer.java:767)
	at [email protected]/com.nextbreakpoint.nextfractal.contextfree.renderer.Renderer.doRender(Renderer.java:331)
	at [email protected]/com.nextbreakpoint.nextfractal.contextfree.renderer.Renderer$RenderRunnable.run(Renderer.java:424)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

On 2.2.0:

2021-03-09 20:42:10 WARNING com.nextbreakpoint.nextfractal.contextfree.renderer.Renderer doRender Cannot render fractal
java.lang.OutOfMemoryError: Java heap space
	at java.base/java.util.Arrays.copyOf(Unknown Source)
	at java.base/java.util.ArrayList.grow(Unknown Source)
	at java.base/java.util.ArrayList.grow(Unknown Source)
	at java.base/java.util.ArrayList.add(Unknown Source)
	at java.base/java.util.ArrayList.add(Unknown Source)
	at [email protected]/com.nextbreakpoint.nextfractal.contextfree.dsl.grammar.CFDGRenderer.processPrimShapeSiblings(CFDGRenderer.java:602)
	at [email protected]/com.nextbreakpoint.nextfractal.contextfree.dsl.grammar.CFDGRenderer.processPrimShape(CFDGRenderer.java:521)
	at [email protected]/com.nextbreakpoint.nextfractal.contextfree.dsl.grammar.CFDGRenderer.processShape(CFDGRenderer.java:509)
	at [email protected]/com.nextbreakpoint.nextfractal.contextfree.dsl.grammar.ast.ASTReplacement.traverse(ASTReplacement.java:134)
	at [email protected]/com.nextbreakpoint.nextfractal.contextfree.dsl.grammar.ast.ASTRepContainer.traverse(ASTRepContainer.java:156)
	at [email protected]/com.nextbreakpoint.nextfractal.contextfree.dsl.grammar.ast.ASTRule.traverse(ASTRule.java:150)
	at [email protected]/com.nextbreakpoint.nextfractal.contextfree.dsl.grammar.CFDGRenderer.run(CFDGRenderer.java:768)
	at [email protected]/com.nextbreakpoint.nextfractal.contextfree.renderer.Renderer.doRender(Renderer.java:330)
	at [email protected]/com.nextbreakpoint.nextfractal.contextfree.renderer.Renderer$RenderRunnable.run(Renderer.java:422)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

Exception in thread "RxCachedWorkerPoolEvictor-1" java.lang.OutOfMemoryError: Java heap space

My machine has 8G RAM and is running Linux Mint 20.1.
Is there anything I can do to help?

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.