All Projects → Erkaman → cloud_gen

Erkaman / cloud_gen

Licence: MIT License
Procedural Generation of Clouds with Vector Graphics

Programming Languages

C++
36643 projects - #6 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to cloud gen

BezierKit
Bezier curves and paths in Swift for building vector applications
Stars: ✭ 190 (+313.04%)
Mutual labels:  bezier, vector-graphics
Macsvg
macSVG - An open-source macOS app for designing HTML5 SVG (Scalable Vector Graphics) art and animation with a WebKit web view ➤➤➤
Stars: ✭ 789 (+1615.22%)
Mutual labels:  bezier, vector-graphics
Bezier.py
➰ Create Bezier curves in Python [Mirror]
Stars: ✭ 22 (-52.17%)
Mutual labels:  bezier, bezier-curves
BezierCanvas
Adobe Illustrator's pen tool style bezier editor on Unity.
Stars: ✭ 126 (+173.91%)
Mutual labels:  bezier, bezier-curves
accrete-starform-stargen
An attempt to reconcile all available versions of the Accrete/Starform/Stargen solar system generator.
Stars: ✭ 24 (-47.83%)
Mutual labels:  procedural-generation
random-art-generator
Command-line application to produce generative art based on a target image
Stars: ✭ 32 (-30.43%)
Mutual labels:  procedural-generation
CurveFitting
〰️ Curve fitting based on Schneider's algorithm. Written using C++11 and OpenSceneGraph (visualization)
Stars: ✭ 75 (+63.04%)
Mutual labels:  bezier-curves
ProceduralDungeon
This is an Unreal Engine 4/5 plugin to generate procedural dungeon.
Stars: ✭ 95 (+106.52%)
Mutual labels:  procedural-generation
animatePaper.js
An animation library for paper.js.
Stars: ✭ 33 (-28.26%)
Mutual labels:  vector-graphics
Unity-Procedural
Spline based mesh generation
Stars: ✭ 67 (+45.65%)
Mutual labels:  bezier
xibalba
A Mayan roguelike
Stars: ✭ 50 (+8.7%)
Mutual labels:  procedural-generation
BezierCurtainEffect
贝塞尔曲线窗帘效果BezierCurtainEffect,BezierCurtainView,CurtainEffect,CurtainView
Stars: ✭ 45 (-2.17%)
Mutual labels:  bezier
Symbinode
Free and open source program for creating procedural materials.
Stars: ✭ 52 (+13.04%)
Mutual labels:  procedural-generation
spacestation
A procedural spacestation generator
Stars: ✭ 22 (-52.17%)
Mutual labels:  procedural-generation
fractal-noise-js
Fractal noise functions
Stars: ✭ 37 (-19.57%)
Mutual labels:  procedural-generation
ArcPageIndicator
Android Page Indicator for ViewPager with original animations. It uses an ellipse to dispose indication spots, and can draw a hand, like in old elevators.
Stars: ✭ 73 (+58.7%)
Mutual labels:  ellipse
vpype-pixelart
Pixel art plotting in vpype
Stars: ✭ 40 (-13.04%)
Mutual labels:  vector-graphics
TaurusDungeonGenerator
A graph based procedural dungeon generator for Unity
Stars: ✭ 25 (-45.65%)
Mutual labels:  procedural-generation
BezierPathClosestPoint
Finding the closest point on UIBezierPath
Stars: ✭ 43 (-6.52%)
Mutual labels:  bezier-curves
dungeon
A configurable and editable dungeon generator using Binary-Space Partitioning and hand-made rooms.
Stars: ✭ 49 (+6.52%)
Mutual labels:  procedural-generation

Procedural Generation of Clouds with Vector Graphics.

This is just a quick experiment where I tried generating procedural 2D clouds using vector graphics. The experiment is just a program that outputs a bunch of vector clouds as a SVG file:

You can see the SVG files in the directory img/.

Building and Usage

You can build using make:

make

You can now generate an SVG with clouds by doing

./cloud_gen > out.svg

By changing the variable

int TYPE = 0;

in main.cpp you can generate different kinds of clouds.

How Does this Work?

We start with the geometry for an ellipse:

Then we replace every edge on the original ellipse with a cubic Bezier curve:

To introduce some randomness, we randomly move the control points of the cubic bezier curves some:

and that's it!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].