Mandelbrot demo (VEXcode)

#1

More fun with VEXcode and graphics.

Another old program that I ported over to the latest VEXcode API, an interactive mandelbrot set demo.
(and yea, I just fixed the spelling but am not going to capture the images again)

mandle_1

Use the + and - buttons to zoom the image (keep pressing to zoom continuously), after zooming it will recalculate at full resolution.

touch the screen to recenter the image at the point touched. Use reset button to set everything back to the start.

mandle_2

Here we are zoomed in a long way.

mandle_3

It has no particular application to robotics, but it does show off the power of the V5 quite nicely.

Enjoy

v5code-project-mandelbrot.zip (24.4 KB)

7 Likes

Stopwatch demo (VEXcode)
#2

What IDE were these programs you keep porting initially written in?

0 Likes

#3

woah really cool!

0 Likes

#4

No particular IDE, they are part of the test suite that I use to verify the C API that everyone is using (PROS, VCS, RobotMesh & Mathworks). So my favorite text editor for simple programs is still BBEdit (although I use VSCode a lot as well now). My build system is based around CMake

I’m just porting them over to use the C++ API that we have in VEXcode and VCS

1 Like