Talk:Dragon curve: Difference between revisions

Content deleted Content added
→‎javascript: new section
Wherrera (talk | contribs)
 
(3 intermediate revisions by 3 users not shown)
Line 28:
version 2 is working!
but when I tried to upload an image got: "Could not read or write file"
 
== java ==
 
It works!
 
== Possible improvement to terminal output ==
 
A fun thought occured to me tonight (https://en.wikipedia.org/wiki/Box-drawing_character):
 
<pre>
harold@freeside:~$ cat << EOF
┌┐
┌┘╵
└┐
┌┼┐┌┐┌┐
└┘└┼┼┘└┐
┌┼┘ ╶┘
└┘
EOF
┌┐
┌┘╵
└┐
┌┼┐┌┐┌┐
└┘└┼┼┘└┐
┌┼┘ ╶┘
└┘
</pre>
 
Looks quite good in my terminal (gnome terminal):
 
[[File:2022-12-07 20-43.png]]
 
== The Rust example cannot be build ==
 
I've tried to compile the Rust code.
 
The program cannot be built with the current version 0.9.3 of ggez because some modules used in the code are no longer available. E.g. graphics::{clear, draw, present}.
 
The Rust examples should always also name the necessary crate versions.
Simply trying out every version is an imposition because of the large dependency list.
 
Has anyone successfully managed to create the program?
 
::You can add the proper version with `cargo add ggez@0.8.1` but my rust installation then finds an ambiguity in the `c_void` type elsewhere in the example, once the older version of ggez is installed. --[[User:Wherrera|Wherrera]] ([[User talk:Wherrera|talk]]) 21:42, 24 June 2024 (UTC)
Return to "Dragon curve" page.