Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

other toolkits. #1

Open
nanjizal opened this issue Jun 22, 2017 · 2 comments
Open

other toolkits. #1

nanjizal opened this issue Jun 22, 2017 · 2 comments

Comments

@nanjizal
Copy link

nanjizal commented Jun 22, 2017

Forked project, made some changes that potentially could allow easier use with more toolkits but still exploring. Lovely project.

@whuop
Copy link
Owner

whuop commented Jul 26, 2017

Awesome! Would love to see the changes you made.

@nanjizal
Copy link
Author

If your interested in merging, I can request a pull but was not sure if that would be suitable it's quite different now, but supports Kha and could easily be tweaked for NME, Flash etc..

https://github.com/nanjizal/L-System ( support Kha and Luxe ).

( the two part demo is worth waiting for second page )

Possible 3D extensions

Just added LNode3D
https://github.com/nanjizal/L-System/blob/master/src/lsystem/LNode3D.hx

I think it should be feasible to use it in place of LNode without much change, but I guessed the Maths so that may need tweaks and obviously would need a new compatible 'drawing' suitable for 3D. But I think it may not actually be that hard since I have tried to abstract so that different LNodes can be used.

For 3D 'line' would need to be modified to create a cylinder here:
https://github.com/nanjizal/L-System/blob/master/src/AnimationKha.hx#L74
https://github.com/nanjizal/L-System/blob/master/src/AnimationKha.hx#L17

and the render of the lines would need to be adjusted, graphics4 setup and use can be seen here:
https://github.com/nanjizal/JustTrianglesKha4

L-Systems are amazing but not sure I can justify implementing 3D version need to be doing stuff towards getting work and not sure if that would be :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants