Loading...
Loading...
5 new projects with 12 stars.
You can use the following script to install the ofWorks fork.
Run this script from the folder you want ofWorks to be installed:
curl -fsSL https://ofworks.cc/of.sh | bash
o-o o--o o o o-o o--o o o o-o
o o | | | o o | | | / |
| | O-o o o o | | O-Oo OO o-o
o o | \ / \ / o o | \ | \ |
o-o o o o o-o o o o o o--o
This script installs everything needed (libraries, ofGen) to run your projects.
ofGen is a command line project generator and it will be available in your global path.
[!Note] Tested working on:
macOS (Apple Silicon), Windows, Linux (Ubuntu x86_64/Pop!_OS), Raspberry PI (and Ubuntu arm in GitHub Actions)
After installed, you can upgrade to latest ofWorks / ofLibs / ofGen by calling:
cd ofworks
./ofStart.sh # Windows requires Git Bash
# or ofStart.ps1 from Windows Powershell
Pre-requisites:
Git for Windows and Chalet Build System.
You run the install script from Git Bash.
After installation is complete you can use it from Powershell or Git Bash to build and run your projects.
ofgen tool will be installed and available in path, so you can navigate to your project folder and call it, like:
cd ofworks/apps/workApps/awesomeApp
ofgen
or
ofgen buildrun
Without parameters it will detect your platform and create the recommended templates for your platform. Today the default ones are:
| Platform | Templates | | :---------------------- | :--------------------: | | macOS | XCode, Chalet, ZED | | Windows | Chalet, ZED | | Linux | Chalet, ZED | | Raspberry PI / Linux Arm| Chalet, ZED |
VSCode to be re-added soon.
From chalet project it is possible to export to Visual Studio, CLion, Fleet, XCode, Code::Blocks.
For a unified experience in all platforms you can install ZED editor.
After running ofGen you can open your project:
zed .
and build by pressing Command + Shift + R (macOS), or Alt + Shift + R (Windows / Linux).
In ofWorks:
ofxCairo (libraries are not ready yet).ofLoadURL capabilities,ofxURL (libs not ready yet).ofxMath.
It can be added if needed to access any of these objects:
ofPoint, ofMatrix3x3, ofMatrix4x4, ofQuaternion,
ofVec2f, ofVec3f, ofVec4f, ofVectorMath
glm operations.ofImage has a mango library backend (faster and more modern).Feedback and collaboration is encouraged. Pull requests are very welcome.
It is preferred to discuss first any feature change using issues and discussions before submitting PRs.