jildertviet / ofxjvisuals Goto Github PK
View Code? Open in Web Editor NEWPersonal project for generating realtime visuals.
License: Other
Personal project for generating realtime visuals.
License: Other
Test if 150 even works...
Would be nice...
So, now mode is a float (due to easy SC link).
Perhaps it should be an array?
Perhaps with a JModifier?
Redraw modifier with mode setting...
Something like this (here):
float prevMode = e->mode;
e->mode = mode;
(e->*ptr)(); // Draw
e->mode = prevMode; // restore
Fix it!
As a mask of JRectangle?
Or link a JImage to a JRectangle?
Register shaders-vector, and remove self @ deconstruct
OpenCL stuff isn't universal, hard to get working at Linux it seems
Should be polling the server until ready
Instead of creating a new UGen per server-managed JEvent: create a generic one.
Then inherit from this one to call a different constructor.
Created object is capable of controlling x, y, w, h. Color. Mode, etc. Busses.
Try with JEvents > JShaderS.
So only Y values.
Scale w/ glm::vec3 size.
In JEventBase.h the send values is called busses, and the float busses[10] array as well...
There a Jonisk object is used as a synth?
In test pattern I think.
Goal: play a JEvent with a Pdef and add mappers / sound?
Renders all white it seems.
Send height as argument in create();
To overlay rectangles
Or a new class: JWaveform for displaying a waveform.
Originally posted by @jildertviet in #46 (comment)
SC: see JBufferSender, use this, so only a buffer needs to be set as input.
Possible?
For AV purposes: map amp and cutoff freq of 1 synth.
Generative shaders and FX-shaders?
FX-shaders need the content to be drawn between begin()
and end()
.
Generative shaders need to be called after each other.
So make two <vector>
s?
Use layer
to add shader?
Be aware that layer is already used to place the (non-drawing())-JEvent.
JModifierArray expects the space and dimensions from the busses... Right?
JBufferSender crashes on supernova server.
Works on scsynth.
Because each parameter is now send via SendReply in J_Ugens all parameters are floats.
Optional:
Make a struct and send that as float[];
SCsender is NULL
Per layer, add JShader objects?
shaders[i]->begin();
layers[i]->display();
shaders[i]->end();
Or only for a certain layer? (Instead of all)
Like Blender: array function. (Make grid of squars from one square i.e.)
Event{
vector modifiers;
}
if(modifier){
// call draw() inside the modifier?
}
To connect JVorms, after connection.
Inputs for triggers?
And C++ functions per trigger?
Use busses[] as arguments? Or are they occupied?
setType{
type = "JEvent"
}
On the other hand, it doesn't hurt... Perhaps faster then std::vector?
When drawn in shader, it feedbacks to the next iteration and inverts, and thus flickers.
Two polylines?
If < 0, consider value. if value > 0, set to 0.
True?
Is it possible to add a UDP socket that sets up a SC client?
If so, then SendReply.kr might be nice to map oscillators to values of Events.
In this repo or J_Pseudo?
I guess this is the best one
For example:
JRectangle has mappable parameter[0]: size.x
How should sclang know? (So you can easily see what to map)
Parse the .h file?
Use a .config / .JSON / .XML file for both C++ and SC?
Using 16x JBufferSender w/ 1000 frames on 50Hz gives jittery performance.
Using supernova.
But probably too many OSC messages to process?
Using binary blob arg?
Would it work?
Link UGens afterwards to parameters...
{JShader.kr(busses: [0, \numLines.kr(10)])}.play;
Then map {SinOsc.kr(1).range(1, 10)} to \numLines...
Mint 21
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.